Class Rollout
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.api.servicemanagement.v1.Rollout
-
- All Implemented Interfaces:
RolloutOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Rollout extends com.google.protobuf.GeneratedMessageV3 implements RolloutOrBuilder
A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.
Protobuf typegoogle.api.servicemanagement.v1.Rollout- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRollout.BuilderA rollout resource that defines how service configuration versions are pushed to control plane systems.static classRollout.DeleteServiceStrategyStrategy used to delete a service.static interfaceRollout.DeleteServiceStrategyOrBuilderstatic classRollout.RolloutStatusStatus of a Rollout.static classRollout.StrategyCasestatic classRollout.TrafficPercentStrategyStrategy that specifies how clients of Google Service Controller want to send traffic to use different config versions.static interfaceRollout.TrafficPercentStrategyOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intCREATED_BY_FIELD_NUMBERstatic intDELETE_SERVICE_STRATEGY_FIELD_NUMBERstatic intROLLOUT_ID_FIELD_NUMBERstatic intSERVICE_NAME_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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.static RolloutgetDefaultInstance()RolloutgetDefaultInstanceForType()Rollout.DeleteServiceStrategygetDeleteServiceStrategy()The strategy associated with a rollout to delete a `ManagedService`.Rollout.DeleteServiceStrategyOrBuildergetDeleteServiceStrategyOrBuilder()The strategy associated with a rollout to delete a `ManagedService`.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Rollout>getParserForType()StringgetRolloutId()Optional.com.google.protobuf.ByteStringgetRolloutIdBytes()Optional.intgetSerializedSize()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`.inthashCode()booleanhasTrafficPercentStrategy()Google Service Control selects service configurations based on traffic percentage.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Rollout.BuildernewBuilder()static Rollout.BuildernewBuilder(Rollout prototype)Rollout.BuildernewBuilderForType()protected Rollout.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RolloutparseDelimitedFrom(InputStream input)static RolloutparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(byte[] data)static RolloutparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(com.google.protobuf.ByteString data)static RolloutparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(com.google.protobuf.CodedInputStream input)static RolloutparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(InputStream input)static RolloutparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(ByteBuffer data)static RolloutparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Rollout>parser()Rollout.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ROLLOUT_ID_FIELD_NUMBER
public static final int ROLLOUT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
public static final int TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_SERVICE_STRATEGY_FIELD_NUMBER
public static final int DELETE_SERVICE_STRATEGY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getStrategyCase
public Rollout.StrategyCase getStrategyCase()
- Specified by:
getStrategyCasein interfaceRolloutOrBuilder
-
getRolloutId
public 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];- Specified by:
getRolloutIdin interfaceRolloutOrBuilder- Returns:
- The rolloutId.
-
getRolloutIdBytes
public 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];- Specified by:
getRolloutIdBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for rolloutId.
-
hasCreateTime
public boolean hasCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;- Specified by:
hasCreateTimein interfaceRolloutOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimein interfaceRolloutOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimeOrBuilderin interfaceRolloutOrBuilder
-
getCreatedBy
public String getCreatedBy()
The user who created the Rollout. Readonly.
string created_by = 3;- Specified by:
getCreatedByin interfaceRolloutOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()
The user who created the Rollout. Readonly.
string created_by = 3;- Specified by:
getCreatedByBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for createdBy.
-
getStatusValue
public 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;- Specified by:
getStatusValuein interfaceRolloutOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public 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;- Specified by:
getStatusin interfaceRolloutOrBuilder- Returns:
- The status.
-
hasTrafficPercentStrategy
public boolean hasTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;- Specified by:
hasTrafficPercentStrategyin interfaceRolloutOrBuilder- Returns:
- Whether the trafficPercentStrategy field is set.
-
getTrafficPercentStrategy
public Rollout.TrafficPercentStrategy getTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;- Specified by:
getTrafficPercentStrategyin interfaceRolloutOrBuilder- Returns:
- The trafficPercentStrategy.
-
getTrafficPercentStrategyOrBuilder
public Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder()
Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;- Specified by:
getTrafficPercentStrategyOrBuilderin interfaceRolloutOrBuilder
-
hasDeleteServiceStrategy
public boolean hasDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;- Specified by:
hasDeleteServiceStrategyin interfaceRolloutOrBuilder- Returns:
- Whether the deleteServiceStrategy field is set.
-
getDeleteServiceStrategy
public Rollout.DeleteServiceStrategy getDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;- Specified by:
getDeleteServiceStrategyin interfaceRolloutOrBuilder- Returns:
- The deleteServiceStrategy.
-
getDeleteServiceStrategyOrBuilder
public Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder()
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;- Specified by:
getDeleteServiceStrategyOrBuilderin interfaceRolloutOrBuilder
-
getServiceName
public String getServiceName()
The name of the service associated with this Rollout.
string service_name = 8;- Specified by:
getServiceNamein interfaceRolloutOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
The name of the service associated with this Rollout.
string service_name = 8;- Specified by:
getServiceNameBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for serviceName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Rollout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Rollout.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Rollout.Builder newBuilder()
-
newBuilder
public static Rollout.Builder newBuilder(Rollout prototype)
-
toBuilder
public Rollout.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Rollout getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Rollout> parser()
-
getParserForType
public com.google.protobuf.Parser<Rollout> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Rollout getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-