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
Static Fields
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DELETE_SERVICE_STRATEGY_FIELD_NUMBER
public static final int DELETE_SERVICE_STRATEGY_FIELD_NUMBER
Field Value
ROLLOUT_ID_FIELD_NUMBER
public static final int ROLLOUT_ID_FIELD_NUMBER
Field Value
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
public static final int TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Rollout getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Rollout.Builder newBuilder()
Returns
newBuilder(Rollout prototype)
public static Rollout.Builder newBuilder(Rollout prototype)
Parameter
Returns
public static Rollout parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Rollout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Rollout parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Rollout parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Rollout parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Rollout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Rollout parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Rollout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Rollout parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Rollout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Rollout> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCreateTime()
public Timestamp getCreateTime()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of the rollout. Readonly.
.google.protobuf.Timestamp create_time = 2;
Returns
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
getDefaultInstanceForType()
public Rollout getDefaultInstanceForType()
Returns
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;
Returns
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;
Returns
getParserForType()
public Parser<Rollout> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
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;
Returns
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()
Returns
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;
Returns
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;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Rollout.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Rollout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Rollout.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions