Class PostdeployJob.Builder (1.29.0)

public static final class PostdeployJob.Builder extends GeneratedMessageV3.Builder<PostdeployJob.Builder> implements PostdeployJobOrBuilder

A postdeploy Job.

Protobuf type google.cloud.deploy.v1.PostdeployJob

Static Methods

getDescriptor()

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

Methods

addActions(String value)

public PostdeployJob.Builder addActions(String value)

Output only. The custom actions that the postdeploy Job executes.

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

Parameter
NameDescription
valueString

The actions to add.

Returns
TypeDescription
PostdeployJob.Builder

This builder for chaining.

addActionsBytes(ByteString value)

public PostdeployJob.Builder addActionsBytes(ByteString value)

Output only. The custom actions that the postdeploy Job executes.

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

Parameter
NameDescription
valueByteString

The bytes of the actions to add.

Returns
TypeDescription
PostdeployJob.Builder

This builder for chaining.

addAllActions(Iterable<String> values)

public PostdeployJob.Builder addAllActions(Iterable<String> values)

Output only. The custom actions that the postdeploy Job executes.

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

Parameter
NameDescription
valuesIterable<String>

The actions to add.

Returns
TypeDescription
PostdeployJob.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PostdeployJob build()
Returns
TypeDescription
PostdeployJob

buildPartial()

public PostdeployJob buildPartial()
Returns
TypeDescription
PostdeployJob

clear()

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

clearActions()

public PostdeployJob.Builder clearActions()

Output only. The custom actions that the postdeploy Job executes.

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

Returns
TypeDescription
PostdeployJob.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getActions(int index)

public String getActions(int index)

Output only. The custom actions that the postdeploy Job executes.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The actions at the given index.

getActionsBytes(int index)

public ByteString getActionsBytes(int index)

Output only. The custom actions that the postdeploy Job executes.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the actions at the given index.

getActionsCount()

public int getActionsCount()

Output only. The custom actions that the postdeploy Job executes.

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

Returns
TypeDescription
int

The count of actions.

getActionsList()

public ProtocolStringList getActionsList()

Output only. The custom actions that the postdeploy Job executes.

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

Returns
TypeDescription
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public PostdeployJob getDefaultInstanceForType()
Returns
TypeDescription
PostdeployJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PostdeployJob other)

public PostdeployJob.Builder mergeFrom(PostdeployJob other)
Parameter
NameDescription
otherPostdeployJob
Returns
TypeDescription
PostdeployJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActions(int index, String value)

public PostdeployJob.Builder setActions(int index, String value)

Output only. The custom actions that the postdeploy Job executes.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The actions to set.

Returns
TypeDescription
PostdeployJob.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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