Class CustomTargetSkaffoldActions (1.34.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
TypeDescription
int

INCLUDE_SKAFFOLD_MODULES_FIELD_NUMBER

public static final int INCLUDE_SKAFFOLD_MODULES_FIELD_NUMBER
Field Value
TypeDescription
int

RENDER_ACTION_FIELD_NUMBER

public static final int RENDER_ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomTargetSkaffoldActions getDefaultInstance()
Returns
TypeDescription
CustomTargetSkaffoldActions

getDescriptor()

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

newBuilder()

public static CustomTargetSkaffoldActions.Builder newBuilder()
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

newBuilder(CustomTargetSkaffoldActions prototype)

public static CustomTargetSkaffoldActions.Builder newBuilder(CustomTargetSkaffoldActions prototype)
Parameter
NameDescription
prototypeCustomTargetSkaffoldActions
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

parseDelimitedFrom(InputStream input)

public static CustomTargetSkaffoldActions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CustomTargetSkaffoldActions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomTargetSkaffoldActions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomTargetSkaffoldActions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CustomTargetSkaffoldActions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CustomTargetSkaffoldActions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomTargetSkaffoldActions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetSkaffoldActions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CustomTargetSkaffoldActions> parser()
Returns
TypeDescription
Parser<CustomTargetSkaffoldActions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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>

getParserForType()

public Parser<CustomTargetSkaffoldActions> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CustomTargetSkaffoldActions.Builder newBuilderForType()
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomTargetSkaffoldActions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CustomTargetSkaffoldActions.Builder toBuilder()
Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException