Interface RolloutOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rollout,Rollout.Builder
public interface RolloutOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCreatedBy()The user who created the Rollout.com.google.protobuf.ByteStringgetCreatedByBytes()The user who created the Rollout.com.google.protobuf.TimestampgetCreateTime()Creation time of the rollout.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Creation time of the rollout.Rollout.DeleteServiceStrategygetDeleteServiceStrategy()The strategy associated with a rollout to delete a `ManagedService`.Rollout.DeleteServiceStrategyOrBuildergetDeleteServiceStrategyOrBuilder()The strategy associated with a rollout to delete a `ManagedService`.StringgetRolloutId()Optional.com.google.protobuf.ByteStringgetRolloutIdBytes()Optional.StringgetServiceName()The name of the service associated with this Rollout.com.google.protobuf.ByteStringgetServiceNameBytes()The name of the service associated with this Rollout.Rollout.RolloutStatusgetStatus()The status of this rollout.intgetStatusValue()The status of this rollout.Rollout.StrategyCasegetStrategyCase()Rollout.TrafficPercentStrategygetTrafficPercentStrategy()Google Service Control selects service configurations based on traffic percentage.Rollout.TrafficPercentStrategyOrBuildergetTrafficPercentStrategyOrBuilder()Google Service Control selects service configurations based on traffic percentage.booleanhasCreateTime()Creation time of the rollout.booleanhasDeleteServiceStrategy()The strategy associated with a rollout to delete a `ManagedService`.booleanhasTrafficPercentStrategy()Google Service Control selects service configurations based on traffic percentage.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-