com.google.api.servicemanagement.v1.RolloutOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-service-management-v1 Show documentation
Show all versions of proto-google-cloud-service-management-v1 Show documentation
Proto library for google-cloud-service-management
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicemanagement/v1/resources.proto
// Protobuf Java Version: 3.25.3
package com.google.api.servicemanagement.v1;
public interface RolloutOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.servicemanagement.v1.Rollout)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Unique identifier of this Rollout. Must be no longer than 63
* characters and only lower case letters, digits, '.', '_' and '-' are
* allowed.
*
* If not specified by client, the server will generate one. The generated id
* will have the form of <date><revision number>, where "date" is the create
* date in ISO 8601 format. "revision number" is a monotonically increasing
* positive number that is reset every day for each service.
* An example of the generated rollout_id is '2016-02-16r1'
*
*
* string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The rolloutId.
*/
java.lang.String getRolloutId();
/**
*
*
*
* Optional. Unique identifier of this Rollout. Must be no longer than 63
* characters and only lower case letters, digits, '.', '_' and '-' are
* allowed.
*
* If not specified by client, the server will generate one. The generated id
* will have the form of <date><revision number>, where "date" is the create
* date in ISO 8601 format. "revision number" is a monotonically increasing
* positive number that is reset every day for each service.
* An example of the generated rollout_id is '2016-02-16r1'
*
*
* string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for rolloutId.
*/
com.google.protobuf.ByteString getRolloutIdBytes();
/**
*
*
*
* Creation time of the rollout. Readonly.
*
*
* .google.protobuf.Timestamp create_time = 2;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Creation time of the rollout. Readonly.
*
*
* .google.protobuf.Timestamp create_time = 2;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Creation time of the rollout. Readonly.
*
*
* .google.protobuf.Timestamp create_time = 2;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* The user who created the Rollout. Readonly.
*
*
* string created_by = 3;
*
* @return The createdBy.
*/
java.lang.String getCreatedBy();
/**
*
*
*
* The user who created the Rollout. Readonly.
*
*
* string created_by = 3;
*
* @return The bytes for createdBy.
*/
com.google.protobuf.ByteString getCreatedByBytes();
/**
*
*
*
* The status of this rollout. Readonly. In case of a failed rollout,
* the system will automatically rollback to the current Rollout
* version. Readonly.
*
*
* .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;
*
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
*
*
* The status of this rollout. Readonly. In case of a failed rollout,
* the system will automatically rollback to the current Rollout
* version. Readonly.
*
*
* .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;
*
* @return The status.
*/
com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus();
/**
*
*
*
* Google Service Control selects service configurations based on
* traffic percentage.
*
*
*
* .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
*
*
* @return Whether the trafficPercentStrategy field is set.
*/
boolean hasTrafficPercentStrategy();
/**
*
*
*
* Google Service Control selects service configurations based on
* traffic percentage.
*
*
*
* .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
*
*
* @return The trafficPercentStrategy.
*/
com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getTrafficPercentStrategy();
/**
*
*
*
* Google Service Control selects service configurations based on
* traffic percentage.
*
*
*
* .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
*
*/
com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder
getTrafficPercentStrategyOrBuilder();
/**
*
*
*
* The strategy associated with a rollout to delete a `ManagedService`.
* Readonly.
*
*
*
* .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;
*
*
* @return Whether the deleteServiceStrategy field is set.
*/
boolean hasDeleteServiceStrategy();
/**
*
*
*
* The strategy associated with a rollout to delete a `ManagedService`.
* Readonly.
*
*
*
* .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;
*
*
* @return The deleteServiceStrategy.
*/
com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy getDeleteServiceStrategy();
/**
*
*
*
* The strategy associated with a rollout to delete a `ManagedService`.
* Readonly.
*
*
*
* .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;
*
*/
com.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyOrBuilder
getDeleteServiceStrategyOrBuilder();
/**
*
*
*
* The name of the service associated with this Rollout.
*
*
* string service_name = 8;
*
* @return The serviceName.
*/
java.lang.String getServiceName();
/**
*
*
*
* The name of the service associated with this Rollout.
*
*
* string service_name = 8;
*
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString getServiceNameBytes();
com.google.api.servicemanagement.v1.Rollout.StrategyCase getStrategyCase();
}