Class Rollout (0.1.0)

public final class Rollout extends GeneratedMessageV3 implements RolloutOrBuilder

Rollout resource represents an instance of FleetPackage rollout operation across a fleet. This is a system generated resource and will be read only for end-users. It will be primarily used by the service to process the changes in the FleetPackage and other changes in the environment.

Protobuf type google.cloud.configdelivery.v1beta.Rollout

Implements

RolloutOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DELETION_PROPAGATION_POLICY_FIELD_NUMBER

public static final int DELETION_PROPAGATION_POLICY_FIELD_NUMBER
Field Value
Type Description
int

INFO_FIELD_NUMBER

public static final int INFO_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_FIELD_NUMBER

public static final int RELEASE_FIELD_NUMBER
Field Value
Type Description
int

ROLLOUT_STRATEGY_FIELD_NUMBER

public static final int ROLLOUT_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Rollout getDefaultInstance()
Returns
Type Description
Rollout

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Rollout.Builder newBuilder()
Returns
Type Description
Rollout.Builder

newBuilder(Rollout prototype)

public static Rollout.Builder newBuilder(Rollout prototype)
Parameter
Name Description
prototype Rollout
Returns
Type Description
Rollout.Builder

parseDelimitedFrom(InputStream input)

public static Rollout parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Rollout
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Rollout parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Rollout parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Rollout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Rollout parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Rollout parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Rollout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Rollout parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Rollout parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Rollout
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Rollout parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Rollout parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Rollout
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Rollout parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Rollout parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Rollout
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Rollout parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Rollout> parser()
Returns
Type Description
Parser<Rollout>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the rollout was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the rollout was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Rollout getDefaultInstanceForType()
Returns
Type Description
Rollout

getDeletionPropagationPolicy()

public DeletionPropagationPolicy getDeletionPropagationPolicy()

Deletion propagation policy of the rollout.

.google.cloud.configdelivery.v1beta.DeletionPropagationPolicy deletion_propagation_policy = 7;

Returns
Type Description
DeletionPropagationPolicy

The deletionPropagationPolicy.

getDeletionPropagationPolicyValue()

public int getDeletionPropagationPolicyValue()

Deletion propagation policy of the rollout.

.google.cloud.configdelivery.v1beta.DeletionPropagationPolicy deletion_propagation_policy = 7;

Returns
Type Description
int

The enum numeric value on the wire for deletionPropagationPolicy.

getInfo()

public RolloutInfo getInfo()

Current details of the rollout.

.google.cloud.configdelivery.v1beta.RolloutInfo info = 5;

Returns
Type Description
RolloutInfo

The info.

getInfoOrBuilder()

public RolloutInfoOrBuilder getInfoOrBuilder()

Current details of the rollout.

.google.cloud.configdelivery.v1beta.RolloutInfo info = 5;

Returns
Type Description
RolloutInfoOrBuilder

getName()

public String getName()

Identifier. Name of the Rollout. Format is projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Name of the Rollout. Format is projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Rollout> getParserForType()
Returns
Type Description
Parser<Rollout>
Overrides

getRelease()

public String getRelease()

Reference to the Release being rolled out.

string release = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The release.

getReleaseBytes()

public ByteString getReleaseBytes()

Reference to the Release being rolled out.

string release = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for release.

getRolloutStrategy()

public RolloutStrategy getRolloutStrategy()

Rollout strategy for rolling out FleetPackage to clusters.

.google.cloud.configdelivery.v1beta.RolloutStrategy rollout_strategy = 4;

Returns
Type Description
RolloutStrategy

The rolloutStrategy.

getRolloutStrategyOrBuilder()

public RolloutStrategyOrBuilder getRolloutStrategyOrBuilder()

Rollout strategy for rolling out FleetPackage to clusters.

.google.cloud.configdelivery.v1beta.RolloutStrategy rollout_strategy = 4;

Returns
Type Description
RolloutStrategyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time the rollout was most recently updated.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the rollout was most recently updated.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the rollout was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasInfo()

public boolean hasInfo()

Current details of the rollout.

.google.cloud.configdelivery.v1beta.RolloutInfo info = 5;

Returns
Type Description
boolean

Whether the info field is set.

hasRolloutStrategy()

public boolean hasRolloutStrategy()

Rollout strategy for rolling out FleetPackage to clusters.

.google.cloud.configdelivery.v1beta.RolloutStrategy rollout_strategy = 4;

Returns
Type Description
boolean

Whether the rolloutStrategy field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time the rollout was most recently updated.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Rollout.Builder newBuilderForType()
Returns
Type Description
Rollout.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Rollout.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Rollout.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Rollout.Builder toBuilder()
Returns
Type Description
Rollout.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException