Class Predeploy.Builder (1.50.0)

public static final class Predeploy.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Predeploy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Predeploy.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Predeploy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Predeploy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Predeploy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Predeploy.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Predeploy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Predeploy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Predeploy.Builder
Overrides

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

public Predeploy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Predeploy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Predeploy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Predeploy.Builder
Overrides