Class Predeploy.Builder (1.27.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
TypeDescription
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
NameDescription
valueString

The actions to add.

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

The bytes of the actions to add.

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

The actions to add.

Returns
TypeDescription
Predeploy.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Predeploy build()
Returns
TypeDescription
Predeploy

buildPartial()

public Predeploy buildPartial()
Returns
TypeDescription
Predeploy

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

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

A list containing the actions.

getDefaultInstanceForType()

public Predeploy getDefaultInstanceForType()
Returns
TypeDescription
Predeploy

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

public Predeploy.Builder mergeFrom(Predeploy other)
Parameter
NameDescription
otherPredeploy
Returns
TypeDescription
Predeploy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The actions to set.

Returns
TypeDescription
Predeploy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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