Class Predeploy.Builder (1.81.0)

public static final class Predeploy.Builder extends GeneratedMessage.Builder<Predeploy.Builder> implements PredeployOrBuilder

Predeploy contains the predeploy job configuration information.

Protobuf type google.cloud.deploy.v1.Predeploy

Implements

PredeployOrBuilder

Static Methods

getDescriptor()

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

Methods

addActions(String value)

public Predeploy.Builder addActions(String value)

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

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

Parameter
Name Description
value String

The actions to add.

Returns
Type Description
Predeploy.Builder

This builder for chaining.

addActionsBytes(ByteString value)

public Predeploy.Builder addActionsBytes(ByteString value)

Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy 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
Predeploy.Builder

This builder for chaining.

addAllActions(Iterable<String> values)

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

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

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

Parameter
Name Description
values Iterable<String>

The actions to add.

Returns
Type Description
Predeploy.Builder

This builder for chaining.

build()

public Predeploy build()
Returns
Type Description
Predeploy

buildPartial()

public Predeploy buildPartial()
Returns
Type Description
Predeploy

clear()

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

clearActions()

public Predeploy.Builder clearActions()

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

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

Returns
Type Description
Predeploy.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 predeploy 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 predeploy 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 predeploy 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 predeploy job.

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

Returns
Type Description
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public Predeploy getDefaultInstanceForType()
Returns
Type Description
Predeploy

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setActions(int index, String value)

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

Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy 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
Predeploy.Builder

This builder for chaining.