Interface RolloutOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rollout,Rollout.Builder
@Generated
public interface RolloutOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe user who created the Rollout.com.google.protobuf.ByteStringThe user who created the Rollout.com.google.protobuf.TimestampCreation time of the rollout.com.google.protobuf.TimestampOrBuilderCreation time of the rollout.The strategy associated with a rollout to delete a `ManagedService`.The strategy associated with a rollout to delete a `ManagedService`.Optional.com.google.protobuf.ByteStringOptional.The name of the service associated with this Rollout.com.google.protobuf.ByteStringThe name of the service associated with this Rollout.The status of this rollout.intThe status of this rollout.Google Service Control selects service configurations based on traffic percentage.Google Service Control selects service configurations based on traffic percentage.booleanCreation time of the rollout.booleanThe strategy associated with a rollout to delete a `ManagedService`.booleanGoogle Service Control selects service configurations based on traffic percentage.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRolloutId
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];- Returns:
- The rolloutId.
-
getRolloutIdBytes
com.google.protobuf.ByteString getRolloutIdBytes()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];- Returns:
- The bytes for rolloutId.
-
hasCreateTime
boolean hasCreateTime()Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2; -
getCreatedBy
String getCreatedBy()The user who created the Rollout. Readonly.
string created_by = 3;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()The user who created the Rollout. Readonly.
string created_by = 3;- Returns:
- The bytes for createdBy.
-
getStatusValue
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;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Rollout.RolloutStatus getStatus()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;- Returns:
- The status.
-
hasTrafficPercentStrategy
boolean hasTrafficPercentStrategy()Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;- Returns:
- Whether the trafficPercentStrategy field is set.
-
getTrafficPercentStrategy
Rollout.TrafficPercentStrategy getTrafficPercentStrategy()Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;- Returns:
- The trafficPercentStrategy.
-
getTrafficPercentStrategyOrBuilder
Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder()Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5; -
hasDeleteServiceStrategy
boolean hasDeleteServiceStrategy()The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;- Returns:
- Whether the deleteServiceStrategy field is set.
-
getDeleteServiceStrategy
Rollout.DeleteServiceStrategy getDeleteServiceStrategy()The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;- Returns:
- The deleteServiceStrategy.
-
getDeleteServiceStrategyOrBuilder
Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder()The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200; -
getServiceName
String getServiceName()The name of the service associated with this Rollout.
string service_name = 8;- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()The name of the service associated with this Rollout.
string service_name = 8;- Returns:
- The bytes for serviceName.
-
getStrategyCase
Rollout.StrategyCase getStrategyCase()
-