Class CustomTargetSkaffoldActions (1.47.0)

public final class CustomTargetSkaffoldActions extends GeneratedMessageV3 implements CustomTargetSkaffoldActionsOrBuilder

CustomTargetSkaffoldActions represents the CustomTargetType configuration using Skaffold custom actions.

Protobuf type google.cloud.deploy.v1.CustomTargetSkaffoldActions

Static Fields

DEPLOY_ACTION_FIELD_NUMBER

public static final int DEPLOY_ACTION_FIELD_NUMBER
Field Value
Type Description
int

INCLUDE_SKAFFOLD_MODULES_FIELD_NUMBER

public static final int INCLUDE_SKAFFOLD_MODULES_FIELD_NUMBER
Field Value
Type Description
int

RENDER_ACTION_FIELD_NUMBER

public static final int RENDER_ACTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomTargetSkaffoldActions getDefaultInstance()
Returns
Type Description
CustomTargetSkaffoldActions

getDescriptor()

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

newBuilder()

public static CustomTargetSkaffoldActions.Builder newBuilder()
Returns
Type Description
CustomTargetSkaffoldActions.Builder

newBuilder(CustomTargetSkaffoldActions prototype)

public static CustomTargetSkaffoldActions.Builder newBuilder(CustomTargetSkaffoldActions prototype)
Parameter
Name Description
prototype CustomTargetSkaffoldActions
Returns
Type Description
CustomTargetSkaffoldActions.Builder

parseDelimitedFrom(InputStream input)

public static CustomTargetSkaffoldActions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomTargetSkaffoldActions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomTargetSkaffoldActions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomTargetSkaffoldActions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomTargetSkaffoldActions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomTargetSkaffoldActions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomTargetSkaffoldActions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomTargetSkaffoldActions> parser()
Returns
Type Description
Parser<CustomTargetSkaffoldActions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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>

getParserForType()

public Parser<CustomTargetSkaffoldActions> getParserForType()
Returns
Type Description
Parser<CustomTargetSkaffoldActions>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomTargetSkaffoldActions.Builder newBuilderForType()
Returns
Type Description
CustomTargetSkaffoldActions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomTargetSkaffoldActions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomTargetSkaffoldActions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CustomTargetSkaffoldActions.Builder toBuilder()
Returns
Type Description
CustomTargetSkaffoldActions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException