Class PostdeployJob.Builder (1.81.0)

public static final class PostdeployJob.Builder extends GeneratedMessage.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
Type Description
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
Name Description
value String

The actions to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the actions to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The actions to add.

Returns
Type Description
PostdeployJob.Builder

This builder for chaining.

build()

public PostdeployJob build()
Returns
Type Description
PostdeployJob

buildPartial()

public PostdeployJob buildPartial()
Returns
Type Description
PostdeployJob

clear()

public PostdeployJob.Builder clear()
Returns
Type Description
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
Type Description
PostdeployJob.Builder

This builder for chaining.

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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public PostdeployJob getDefaultInstanceForType()
Returns
Type Description
PostdeployJob

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PostdeployJob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PostdeployJob.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The actions to set.

Returns
Type Description
PostdeployJob.Builder

This builder for chaining.