Class CreateChildRolloutJobRun.Builder (1.39.0)

public static final class CreateChildRolloutJobRun.Builder extends GeneratedMessageV3.Builder<CreateChildRolloutJobRun.Builder> implements CreateChildRolloutJobRunOrBuilder

CreateChildRolloutJobRun contains information specific to a createChildRollout JobRun.

Protobuf type google.cloud.deploy.v1.CreateChildRolloutJobRun

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateChildRolloutJobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

build()

public CreateChildRolloutJobRun build()
Returns
TypeDescription
CreateChildRolloutJobRun

buildPartial()

public CreateChildRolloutJobRun buildPartial()
Returns
TypeDescription
CreateChildRolloutJobRun

clear()

public CreateChildRolloutJobRun.Builder clear()
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateChildRolloutJobRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateChildRolloutJobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

clearRollout()

public CreateChildRolloutJobRun.Builder clearRollout()

Output only. Name of the ChildRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.

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

Returns
TypeDescription
CreateChildRolloutJobRun.Builder

This builder for chaining.

clearRolloutPhaseId()

public CreateChildRolloutJobRun.Builder clearRolloutPhaseId()

Output only. The ID of the childRollout Phase initiated by this JobRun.

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

Returns
TypeDescription
CreateChildRolloutJobRun.Builder

This builder for chaining.

clone()

public CreateChildRolloutJobRun.Builder clone()
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

getDefaultInstanceForType()

public CreateChildRolloutJobRun getDefaultInstanceForType()
Returns
TypeDescription
CreateChildRolloutJobRun

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRollout()

public String getRollout()

Output only. Name of the ChildRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.

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

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

Output only. Name of the ChildRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.

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

Returns
TypeDescription
ByteString

The bytes for rollout.

getRolloutPhaseId()

public String getRolloutPhaseId()

Output only. The ID of the childRollout Phase initiated by this JobRun.

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

Returns
TypeDescription
String

The rolloutPhaseId.

getRolloutPhaseIdBytes()

public ByteString getRolloutPhaseIdBytes()

Output only. The ID of the childRollout Phase initiated by this JobRun.

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

Returns
TypeDescription
ByteString

The bytes for rolloutPhaseId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateChildRolloutJobRun other)

public CreateChildRolloutJobRun.Builder mergeFrom(CreateChildRolloutJobRun other)
Parameter
NameDescription
otherCreateChildRolloutJobRun
Returns
TypeDescription
CreateChildRolloutJobRun.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateChildRolloutJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateChildRolloutJobRun.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateChildRolloutJobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateChildRolloutJobRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

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

public CreateChildRolloutJobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides

setRollout(String value)

public CreateChildRolloutJobRun.Builder setRollout(String value)

Output only. Name of the ChildRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.

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

Parameter
NameDescription
valueString

The rollout to set.

Returns
TypeDescription
CreateChildRolloutJobRun.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public CreateChildRolloutJobRun.Builder setRolloutBytes(ByteString value)

Output only. Name of the ChildRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.

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

Parameter
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
CreateChildRolloutJobRun.Builder

This builder for chaining.

setRolloutPhaseId(String value)

public CreateChildRolloutJobRun.Builder setRolloutPhaseId(String value)

Output only. The ID of the childRollout Phase initiated by this JobRun.

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

Parameter
NameDescription
valueString

The rolloutPhaseId to set.

Returns
TypeDescription
CreateChildRolloutJobRun.Builder

This builder for chaining.

setRolloutPhaseIdBytes(ByteString value)

public CreateChildRolloutJobRun.Builder setRolloutPhaseIdBytes(ByteString value)

Output only. The ID of the childRollout Phase initiated by this JobRun.

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

Parameter
NameDescription
valueByteString

The bytes for rolloutPhaseId to set.

Returns
TypeDescription
CreateChildRolloutJobRun.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateChildRolloutJobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateChildRolloutJobRun.Builder
Overrides