Class Postdeploy.Builder (1.47.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
Type Description
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
Name Description
value String

The actions to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the actions to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The actions to add.

Returns
Type Description
Postdeploy.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Postdeploy build()
Returns
Type Description
Postdeploy

buildPartial()

public Postdeploy buildPartial()
Returns
Type Description
Postdeploy

clear()

public Postdeploy.Builder clear()
Returns
Type Description
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
Type Description
Postdeploy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Postdeploy.Builder clone()
Returns
Type Description
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
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 postdeploy 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 postdeploy 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 postdeploy job.

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

Returns
Type Description
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public Postdeploy getDefaultInstanceForType()
Returns
Type Description
Postdeploy

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Postdeploy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The actions to set.

Returns
Type Description
Postdeploy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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