Class CustomTargetSkaffoldActions.Builder (1.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.SkaffoldModules>
Returns
TypeDescription
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
NameDescription
valueSkaffoldModules
Returns
TypeDescription
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
NameDescription
builderForValueSkaffoldModules.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSkaffoldModules
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkaffoldModules.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SkaffoldModules.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomTargetSkaffoldActions build()
Returns
TypeDescription
CustomTargetSkaffoldActions

buildPartial()

public CustomTargetSkaffoldActions buildPartial()
Returns
TypeDescription
CustomTargetSkaffoldActions

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CustomTargetSkaffoldActions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CustomTargetSkaffoldActions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomTargetSkaffoldActions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CustomTargetSkaffoldActions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CustomTargetSkaffoldActions getDefaultInstanceForType()
Returns
TypeDescription
CustomTargetSkaffoldActions

getDeployAction()

public String getDeployAction()

Required. The Skaffold custom action responsible for deploy operations.

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

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

The bytes for deployAction.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for renderAction.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CustomTargetSkaffoldActions other)

public CustomTargetSkaffoldActions.Builder mergeFrom(CustomTargetSkaffoldActions other)
Parameter
NameDescription
otherCustomTargetSkaffoldActions
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The deployAction to set.

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

The bytes for deployAction to set.

Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CustomTargetSkaffoldActions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSkaffoldModules
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkaffoldModules.Builder
Returns
TypeDescription
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
NameDescription
valueString

The renderAction to set.

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

The bytes for renderAction to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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