Class PredeployJob.Builder (1.49.0)

public static final class PredeployJob.Builder extends GeneratedMessageV3.Builder<PredeployJob.Builder> implements PredeployJobOrBuilder

A predeploy Job.

Protobuf type google.cloud.deploy.v1.PredeployJob

Static Methods

getDescriptor()

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

Methods

addActions(String value)

public PredeployJob.Builder addActions(String value)

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

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

Parameter
Name Description
value String

The actions to add.

Returns
Type Description
PredeployJob.Builder

This builder for chaining.

addActionsBytes(ByteString value)

public PredeployJob.Builder addActionsBytes(ByteString value)

Output only. The custom actions that the predeploy 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
PredeployJob.Builder

This builder for chaining.

addAllActions(Iterable<String> values)

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

Output only. The custom actions that the predeploy 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
PredeployJob.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PredeployJob build()
Returns
Type Description
PredeployJob

buildPartial()

public PredeployJob buildPartial()
Returns
Type Description
PredeployJob

clear()

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

clearActions()

public PredeployJob.Builder clearActions()

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

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

Returns
Type Description
PredeployJob.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getActions(int index)

public String getActions(int index)

Output only. The custom actions that the predeploy 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 predeploy 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 predeploy 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 predeploy Job executes.

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

Returns
Type Description
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public PredeployJob getDefaultInstanceForType()
Returns
Type Description
PredeployJob

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PredeployJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PredeployJob.Builder
Overrides

setActions(int index, String value)

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

Output only. The custom actions that the predeploy 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
PredeployJob.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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