Class Postdeploy.Builder (1.83.0)

public static final class Postdeploy.Builder extends GeneratedMessage.Builder<Postdeploy.Builder> implements PostdeployOrBuilder

Postdeploy contains the postdeploy job configuration information.

Protobuf type google.cloud.deploy.v1.Postdeploy

Implements

PostdeployOrBuilder

Static Methods

getDescriptor()

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

Methods

addActions(String value)

public Postdeploy.Builder addActions(String value)

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameter
Name Description
value String

The actions to add.

Returns
Type Description
Postdeploy.Builder

This builder for chaining.

addActionsBytes(ByteString value)

public Postdeploy.Builder addActionsBytes(ByteString value)

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameter
Name Description
value ByteString

The bytes of the actions to add.

Returns
Type Description
Postdeploy.Builder

This builder for chaining.

addAllActions(Iterable<String> values)

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

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameter
Name Description
values Iterable<String>

The actions to add.

Returns
Type Description
Postdeploy.Builder

This builder for chaining.

build()

public Postdeploy build()
Returns
Type Description
Postdeploy

buildPartial()

public Postdeploy buildPartial()
Returns
Type Description
Postdeploy

clear()

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

clearActions()

public Postdeploy.Builder clearActions()

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Returns
Type Description
Postdeploy.Builder

This builder for chaining.

getActions(int index)

public String getActions(int index)

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

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)

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

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()

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Returns
Type Description
int

The count of actions.

getActionsList()

public ProtocolStringList getActionsList()

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Returns
Type Description
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public Postdeploy getDefaultInstanceForType()
Returns
Type Description
Postdeploy

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(Postdeploy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setActions(int index, String value)

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

Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameters
Name Description
index int

The index to set the value at.

value String

The actions to set.

Returns
Type Description
Postdeploy.Builder

This builder for chaining.