Class TimedPromoteReleaseOperation.Builder (1.52.0)

public static final class TimedPromoteReleaseOperation.Builder extends GeneratedMessageV3.Builder<TimedPromoteReleaseOperation.Builder> implements TimedPromoteReleaseOperationOrBuilder

Contains the information of an automated timed promote-release operation.

Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseOperation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimedPromoteReleaseOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

build()

public TimedPromoteReleaseOperation build()
Returns
Type Description
TimedPromoteReleaseOperation

buildPartial()

public TimedPromoteReleaseOperation buildPartial()
Returns
Type Description
TimedPromoteReleaseOperation

clear()

public TimedPromoteReleaseOperation.Builder clear()
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimedPromoteReleaseOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TimedPromoteReleaseOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

clearPhase()

public TimedPromoteReleaseOperation.Builder clearPhase()

Output only. The starting phase of the rollout created by this operation.

string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

clearRelease()

public TimedPromoteReleaseOperation.Builder clearRelease()

Output only. The name of the release to be promoted.

string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

clearTargetId()

public TimedPromoteReleaseOperation.Builder clearTargetId()

Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.

string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

clone()

public TimedPromoteReleaseOperation.Builder clone()
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

getDefaultInstanceForType()

public TimedPromoteReleaseOperation getDefaultInstanceForType()
Returns
Type Description
TimedPromoteReleaseOperation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPhase()

public String getPhase()

Output only. The starting phase of the rollout created by this operation.

string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The phase.

getPhaseBytes()

public ByteString getPhaseBytes()

Output only. The starting phase of the rollout created by this operation.

string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for phase.

getRelease()

public String getRelease()

Output only. The name of the release to be promoted.

string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The release.

getReleaseBytes()

public ByteString getReleaseBytes()

Output only. The name of the release to be promoted.

string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for release.

getTargetId()

public String getTargetId()

Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.

string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.

string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimedPromoteReleaseOperation other)

public TimedPromoteReleaseOperation.Builder mergeFrom(TimedPromoteReleaseOperation other)
Parameter
Name Description
other TimedPromoteReleaseOperation
Returns
Type Description
TimedPromoteReleaseOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimedPromoteReleaseOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimedPromoteReleaseOperation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimedPromoteReleaseOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TimedPromoteReleaseOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

setPhase(String value)

public TimedPromoteReleaseOperation.Builder setPhase(String value)

Output only. The starting phase of the rollout created by this operation.

string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The phase to set.

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

setPhaseBytes(ByteString value)

public TimedPromoteReleaseOperation.Builder setPhaseBytes(ByteString value)

Output only. The starting phase of the rollout created by this operation.

string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for phase to set.

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

setRelease(String value)

public TimedPromoteReleaseOperation.Builder setRelease(String value)

Output only. The name of the release to be promoted.

string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The release to set.

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

setReleaseBytes(ByteString value)

public TimedPromoteReleaseOperation.Builder setReleaseBytes(ByteString value)

Output only. The name of the release to be promoted.

string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for release to set.

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimedPromoteReleaseOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides

setTargetId(String value)

public TimedPromoteReleaseOperation.Builder setTargetId(String value)

Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.

string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The targetId to set.

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

setTargetIdBytes(ByteString value)

public TimedPromoteReleaseOperation.Builder setTargetIdBytes(ByteString value)

Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.

string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for targetId to set.

Returns
Type Description
TimedPromoteReleaseOperation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TimedPromoteReleaseOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimedPromoteReleaseOperation.Builder
Overrides