Class PredeployJob.Builder (1.22.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
TypeDescription
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
NameDescription
valueString

The actions to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the actions to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The actions to add.

Returns
TypeDescription
PredeployJob.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PredeployJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PredeployJob.Builder
Overrides

build()

public PredeployJob build()
Returns
TypeDescription
PredeployJob

buildPartial()

public PredeployJob buildPartial()
Returns
TypeDescription
PredeployJob

clear()

public PredeployJob.Builder clear()
Returns
TypeDescription
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
TypeDescription
PredeployJob.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PredeployJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PredeployJob.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PredeployJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PredeployJob.Builder
Overrides

clone()

public PredeployJob.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public PredeployJob getDefaultInstanceForType()
Returns
TypeDescription
PredeployJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PredeployJob other)

public PredeployJob.Builder mergeFrom(PredeployJob other)
Parameter
NameDescription
otherPredeployJob
Returns
TypeDescription
PredeployJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PredeployJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredeployJob.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PredeployJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PredeployJob.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PredeployJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The actions to set.

Returns
TypeDescription
PredeployJob.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PredeployJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PredeployJob.Builder
Overrides

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

public PredeployJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PredeployJob.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PredeployJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PredeployJob.Builder
Overrides