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 type
google.api.servicemanagement.v1.Rollout| Modifier and Type | Class and 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 Google Service Control should select
different
versions of service configurations based on traffic percentage.
|
static interface |
Rollout.TrafficPercentStrategyOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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() |
java.lang.String |
getRolloutId()
Optional unique identifier of this Rollout.
|
com.google.protobuf.ByteString |
getRolloutIdBytes()
Optional unique identifier of this Rollout.
|
int |
getSerializedSize() |
java.lang.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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Creation time of the rollout.
|
int |
hashCode() |
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) |
static Rollout |
parseDelimitedFrom(java.io.InputStream input) |
static Rollout |
parseDelimitedFrom(java.io.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(java.io.InputStream input) |
static Rollout |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rollout> |
parser() |
Rollout.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ROLLOUT_ID_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
public static final int DELETE_SERVICE_STRATEGY_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Rollout.StrategyCase getStrategyCase()
getStrategyCase in interface RolloutOrBuilderpublic java.lang.String getRolloutId()
Optional unique identifier of this Rollout. 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;getRolloutId in interface RolloutOrBuilderpublic com.google.protobuf.ByteString getRolloutIdBytes()
Optional unique identifier of this Rollout. 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;getRolloutIdBytes in interface RolloutOrBuilderpublic boolean hasCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;hasCreateTime in interface RolloutOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;getCreateTime in interface RolloutOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;getCreateTimeOrBuilder in interface RolloutOrBuilderpublic java.lang.String getCreatedBy()
The user who created the Rollout. Readonly.
string created_by = 3;getCreatedBy in interface RolloutOrBuilderpublic com.google.protobuf.ByteString getCreatedByBytes()
The user who created the Rollout. Readonly.
string created_by = 3;getCreatedByBytes in interface RolloutOrBuilderpublic 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;getStatusValue in interface RolloutOrBuilderpublic 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;getStatus in interface RolloutOrBuilderpublic Rollout.TrafficPercentStrategy getTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;getTrafficPercentStrategy in interface RolloutOrBuilderpublic Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder()
Google Service Control selects service configurations based on traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;getTrafficPercentStrategyOrBuilder in interface RolloutOrBuilderpublic Rollout.DeleteServiceStrategy getDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;getDeleteServiceStrategy in interface RolloutOrBuilderpublic Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder()
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;getDeleteServiceStrategyOrBuilder in interface RolloutOrBuilderpublic java.lang.String getServiceName()
The name of the service associated with this Rollout.
string service_name = 8;getServiceName in interface RolloutOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
The name of the service associated with this Rollout.
string service_name = 8;getServiceNameBytes in interface RolloutOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Rollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rollout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rollout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rollout parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Rollout parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Rollout parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Rollout parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Rollout parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Rollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Rollout.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Rollout.Builder newBuilder()
public static Rollout.Builder newBuilder(Rollout prototype)
public Rollout.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Rollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Rollout getDefaultInstance()
public static com.google.protobuf.Parser<Rollout> parser()
public com.google.protobuf.Parser<Rollout> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Rollout getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder