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 class
Rollout.Builder
A rollout resource that defines how service configuration versions are pushed to control plane systems.static class
Rollout.DeleteServiceStrategy
Strategy used to delete a service.static interface
Rollout.DeleteServiceStrategyOrBuilder
static class
Rollout.RolloutStatus
Status of a Rollout.static class
Rollout.StrategyCase
static class
Rollout.TrafficPercentStrategy
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions.static interface
Rollout.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 int
CREATE_TIME_FIELD_NUMBER
static int
CREATED_BY_FIELD_NUMBER
static int
DELETE_SERVICE_STRATEGY_FIELD_NUMBER
static int
ROLLOUT_ID_FIELD_NUMBER
static int
SERVICE_NAME_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCreatedBy()
The user who created the Rollout.com.google.protobuf.ByteString
getCreatedByBytes()
The user who created the Rollout.com.google.protobuf.Timestamp
getCreateTime()
Creation time of the rollout.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Creation time of the rollout.static Rollout
getDefaultInstance()
Rollout
getDefaultInstanceForType()
Rollout.DeleteServiceStrategy
getDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`.Rollout.DeleteServiceStrategyOrBuilder
getDeleteServiceStrategyOrBuilder()
The strategy associated with a rollout to delete a `ManagedService`.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<Rollout>
getParserForType()
String
getRolloutId()
Optional.com.google.protobuf.ByteString
getRolloutIdBytes()
Optional.int
getSerializedSize()
String
getServiceName()
The name of the service associated with this Rollout.com.google.protobuf.ByteString
getServiceNameBytes()
The name of the service associated with this Rollout.Rollout.RolloutStatus
getStatus()
The status of this rollout.int
getStatusValue()
The status of this rollout.Rollout.StrategyCase
getStrategyCase()
Rollout.TrafficPercentStrategy
getTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.Rollout.TrafficPercentStrategyOrBuilder
getTrafficPercentStrategyOrBuilder()
Google Service Control selects service configurations based on traffic percentage.boolean
hasCreateTime()
Creation time of the rollout.boolean
hasDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`.int
hashCode()
boolean
hasTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Rollout.Builder
newBuilder()
static Rollout.Builder
newBuilder(Rollout prototype)
Rollout.Builder
newBuilderForType()
protected Rollout.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Rollout
parseDelimitedFrom(InputStream input)
static Rollout
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(byte[] data)
static Rollout
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(com.google.protobuf.ByteString data)
static Rollout
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(com.google.protobuf.CodedInputStream input)
static Rollout
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(InputStream input)
static Rollout
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(ByteBuffer data)
static Rollout
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Rollout>
parser()
Rollout.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getStrategyCase
public Rollout.StrategyCase getStrategyCase()
- Specified by:
getStrategyCase
in 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:
getRolloutId
in 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:
getRolloutIdBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for rolloutId.
-
hasCreateTime
public boolean hasCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceRolloutOrBuilder
-
getCreatedBy
public String getCreatedBy()
The user who created the Rollout. Readonly.
string created_by = 3;
- Specified by:
getCreatedBy
in interfaceRolloutOrBuilder
- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()
The user who created the Rollout. Readonly.
string created_by = 3;
- Specified by:
getCreatedByBytes
in 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:
getStatusValue
in 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:
getStatus
in 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:
hasTrafficPercentStrategy
in 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:
getTrafficPercentStrategy
in 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:
getTrafficPercentStrategyOrBuilder
in 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:
hasDeleteServiceStrategy
in 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:
getDeleteServiceStrategy
in 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:
getDeleteServiceStrategyOrBuilder
in interfaceRolloutOrBuilder
-
getServiceName
public String getServiceName()
The name of the service associated with this Rollout.
string service_name = 8;
- Specified by:
getServiceName
in 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:
getServiceNameBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for serviceName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Rollout getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-