Class CustomTargetSkaffoldActions.Builder (1.53.0)

public static final class CustomTargetSkaffoldActions.Builder extends GeneratedMessageV3.Builder<CustomTargetSkaffoldActions.Builder> implements CustomTargetSkaffoldActionsOrBuilder

CustomTargetSkaffoldActions represents the CustomTargetType configuration using Skaffold custom actions.

Protobuf type google.cloud.deploy.v1.CustomTargetSkaffoldActions

Static Methods

getDescriptor()

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

Methods

addAllIncludeSkaffoldModules(Iterable<? extends SkaffoldModules> values)

public CustomTargetSkaffoldActions.Builder addAllIncludeSkaffoldModules(Iterable<? extends SkaffoldModules> values)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.SkaffoldModules>
Returns
Type Description
CustomTargetSkaffoldActions.Builder

addIncludeSkaffoldModules(SkaffoldModules value)

public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(SkaffoldModules value)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SkaffoldModules
Returns
Type Description
CustomTargetSkaffoldActions.Builder

addIncludeSkaffoldModules(SkaffoldModules.Builder builderForValue)

public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(SkaffoldModules.Builder builderForValue)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SkaffoldModules.Builder
Returns
Type Description
CustomTargetSkaffoldActions.Builder

addIncludeSkaffoldModules(int index, SkaffoldModules value)

public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(int index, SkaffoldModules value)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SkaffoldModules
Returns
Type Description
CustomTargetSkaffoldActions.Builder

addIncludeSkaffoldModules(int index, SkaffoldModules.Builder builderForValue)

public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(int index, SkaffoldModules.Builder builderForValue)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SkaffoldModules.Builder
Returns
Type Description
CustomTargetSkaffoldActions.Builder

addIncludeSkaffoldModulesBuilder()

public SkaffoldModules.Builder addIncludeSkaffoldModulesBuilder()

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkaffoldModules.Builder

addIncludeSkaffoldModulesBuilder(int index)

public SkaffoldModules.Builder addIncludeSkaffoldModulesBuilder(int index)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SkaffoldModules.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomTargetSkaffoldActions build()
Returns
Type Description
CustomTargetSkaffoldActions

buildPartial()

public CustomTargetSkaffoldActions buildPartial()
Returns
Type Description
CustomTargetSkaffoldActions

clear()

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

clearDeployAction()

public CustomTargetSkaffoldActions.Builder clearDeployAction()

Required. The Skaffold custom action responsible for deploy operations.

string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomTargetSkaffoldActions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeSkaffoldModules()

public CustomTargetSkaffoldActions.Builder clearIncludeSkaffoldModules()

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomTargetSkaffoldActions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRenderAction()

public CustomTargetSkaffoldActions.Builder clearRenderAction()

Optional. The Skaffold custom action responsible for render operations. If not provided then Cloud Deploy will perform the render operations via skaffold render.

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

Returns
Type Description
CustomTargetSkaffoldActions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CustomTargetSkaffoldActions getDefaultInstanceForType()
Returns
Type Description
CustomTargetSkaffoldActions

getDeployAction()

public String getDeployAction()

Required. The Skaffold custom action responsible for deploy operations.

string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The deployAction.

getDeployActionBytes()

public ByteString getDeployActionBytes()

Required. The Skaffold custom action responsible for deploy operations.

string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for deployAction.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncludeSkaffoldModules(int index)

public SkaffoldModules getIncludeSkaffoldModules(int index)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SkaffoldModules

getIncludeSkaffoldModulesBuilder(int index)

public SkaffoldModules.Builder getIncludeSkaffoldModulesBuilder(int index)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SkaffoldModules.Builder

getIncludeSkaffoldModulesBuilderList()

public List<SkaffoldModules.Builder> getIncludeSkaffoldModulesBuilderList()

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getIncludeSkaffoldModulesCount()

public int getIncludeSkaffoldModulesCount()

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getIncludeSkaffoldModulesList()

public List<SkaffoldModules> getIncludeSkaffoldModulesList()

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SkaffoldModules>

getIncludeSkaffoldModulesOrBuilder(int index)

public SkaffoldModulesOrBuilder getIncludeSkaffoldModulesOrBuilder(int index)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SkaffoldModulesOrBuilder

getIncludeSkaffoldModulesOrBuilderList()

public List<? extends SkaffoldModulesOrBuilder> getIncludeSkaffoldModulesOrBuilderList()

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder>

getRenderAction()

public String getRenderAction()

Optional. The Skaffold custom action responsible for render operations. If not provided then Cloud Deploy will perform the render operations via skaffold render.

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

Returns
Type Description
String

The renderAction.

getRenderActionBytes()

public ByteString getRenderActionBytes()

Optional. The Skaffold custom action responsible for render operations. If not provided then Cloud Deploy will perform the render operations via skaffold render.

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

Returns
Type Description
ByteString

The bytes for renderAction.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomTargetSkaffoldActions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIncludeSkaffoldModules(int index)

public CustomTargetSkaffoldActions.Builder removeIncludeSkaffoldModules(int index)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomTargetSkaffoldActions.Builder

setDeployAction(String value)

public CustomTargetSkaffoldActions.Builder setDeployAction(String value)

Required. The Skaffold custom action responsible for deploy operations.

string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The deployAction to set.

Returns
Type Description
CustomTargetSkaffoldActions.Builder

This builder for chaining.

setDeployActionBytes(ByteString value)

public CustomTargetSkaffoldActions.Builder setDeployActionBytes(ByteString value)

Required. The Skaffold custom action responsible for deploy operations.

string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for deployAction to set.

Returns
Type Description
CustomTargetSkaffoldActions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeSkaffoldModules(int index, SkaffoldModules value)

public CustomTargetSkaffoldActions.Builder setIncludeSkaffoldModules(int index, SkaffoldModules value)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SkaffoldModules
Returns
Type Description
CustomTargetSkaffoldActions.Builder

setIncludeSkaffoldModules(int index, SkaffoldModules.Builder builderForValue)

public CustomTargetSkaffoldActions.Builder setIncludeSkaffoldModules(int index, SkaffoldModules.Builder builderForValue)

Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.

repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SkaffoldModules.Builder
Returns
Type Description
CustomTargetSkaffoldActions.Builder

setRenderAction(String value)

public CustomTargetSkaffoldActions.Builder setRenderAction(String value)

Optional. The Skaffold custom action responsible for render operations. If not provided then Cloud Deploy will perform the render operations via skaffold render.

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

Parameter
Name Description
value String

The renderAction to set.

Returns
Type Description
CustomTargetSkaffoldActions.Builder

This builder for chaining.

setRenderActionBytes(ByteString value)

public CustomTargetSkaffoldActions.Builder setRenderActionBytes(ByteString value)

Optional. The Skaffold custom action responsible for render operations. If not provided then Cloud Deploy will perform the render operations via skaffold render.

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

Parameter
Name Description
value ByteString

The bytes for renderAction to set.

Returns
Type Description
CustomTargetSkaffoldActions.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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