public final class Rollout extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DELETE_SERVICE_STRATEGY_FIELD_NUMBER
public static final int DELETE_SERVICE_STRATEGY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ROLLOUT_ID_FIELD_NUMBER
public static final int ROLLOUT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
public static final int TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Rollout getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Rollout.Builder newBuilder()
newBuilder(Rollout prototype)
public static Rollout.Builder newBuilder(Rollout prototype)
Parameter |
Name |
Description |
prototype |
Rollout
|
public static Rollout parseDelimitedFrom(InputStream input)
public static Rollout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Rollout parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Rollout parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(CodedInputStream input)
public static Rollout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(InputStream input)
public static Rollout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Rollout parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Rollout> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;
getCreatedBy()
public String getCreatedBy()
The user who created the Rollout. Readonly.
string created_by = 3;
Returns |
Type |
Description |
String |
The createdBy.
|
getCreatedByBytes()
public ByteString getCreatedByBytes()
The user who created the Rollout. Readonly.
string created_by = 3;
Returns |
Type |
Description |
ByteString |
The bytes for createdBy.
|
getDefaultInstanceForType()
public Rollout getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<Rollout> getParserForType()
Overrides
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];
Returns |
Type |
Description |
String |
The rolloutId.
|
getRolloutIdBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for rolloutId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceName()
public String getServiceName()
The name of the service associated with this Rollout.
string service_name = 8;
Returns |
Type |
Description |
String |
The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
The name of the service associated with this Rollout.
string service_name = 8;
Returns |
Type |
Description |
ByteString |
The bytes for serviceName.
|
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;
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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for status.
|
getStrategyCase()
public Rollout.StrategyCase getStrategyCase()
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;
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;
hasCreateTime()
public boolean hasCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the deleteServiceStrategy field is set.
|
hasTrafficPercentStrategy()
public boolean hasTrafficPercentStrategy()
Google Service Control selects service configurations based on
traffic percentage.
.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
Returns |
Type |
Description |
boolean |
Whether the trafficPercentStrategy field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Rollout.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Rollout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Rollout.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides