Class Postdeploy.Builder (1.25.0)

public static final class Postdeploy.Builder extends GeneratedMessageV3.Builder<Postdeploy.Builder> implements PostdeployOrBuilder

Postdeploy contains the postdeploy job configuration information.

Protobuf type google.cloud.deploy.v1.Postdeploy

Implements

PostdeployOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addActions(String value)

public Postdeploy.Builder addActions(String value)

Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameter
NameDescription
valueString

The actions to add.

Returns
TypeDescription
Postdeploy.Builder

This builder for chaining.

addActionsBytes(ByteString value)

public Postdeploy.Builder addActionsBytes(ByteString value)

Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameter
NameDescription
valueByteString

The bytes of the actions to add.

Returns
TypeDescription
Postdeploy.Builder

This builder for chaining.

addAllActions(Iterable<String> values)

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

Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.

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

Parameter
NameDescription
valuesIterable<String>

The actions to add.

Returns
TypeDescription
Postdeploy.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Postdeploy build()
Returns
TypeDescription
Postdeploy

buildPartial()

public Postdeploy buildPartial()
Returns
TypeDescription
Postdeploy

clear()

public Postdeploy.Builder clear()
Returns
TypeDescription
Postdeploy.Builder
Overrides

clearActions()

public Postdeploy.Builder clearActions()

Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy job.

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

Returns
TypeDescription
Postdeploy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Postdeploy.Builder clone()
Returns
TypeDescription
Postdeploy.Builder
Overrides

getActions(int index)

public String getActions(int index)

Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy 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 postdeploy 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 postdeploy 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 postdeploy job.

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

Returns
TypeDescription
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public Postdeploy getDefaultInstanceForType()
Returns
TypeDescription
Postdeploy

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

public Postdeploy.Builder mergeFrom(Postdeploy other)
Parameter
NameDescription
otherPostdeploy
Returns
TypeDescription
Postdeploy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Postdeploy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Postdeploy.Builder
Overrides

setActions(int index, String value)

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

Optional. A sequence of skaffold custom actions to invoke during execution of the postdeploy 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
Postdeploy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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