Class PredeployJob (1.21.0)

public final class PredeployJob extends GeneratedMessageV3 implements PredeployJobOrBuilder

A predeploy Job.

Protobuf type google.cloud.deploy.v1.PredeployJob

Static Fields

ACTIONS_FIELD_NUMBER

public static final int ACTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PredeployJob getDefaultInstance()
Returns
TypeDescription
PredeployJob

getDescriptor()

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

newBuilder()

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

newBuilder(PredeployJob prototype)

public static PredeployJob.Builder newBuilder(PredeployJob prototype)
Parameter
NameDescription
prototypePredeployJob
Returns
TypeDescription
PredeployJob.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getActions(int index)

public String getActions(int index)

Output only. The custom actions that the predeploy Job executes.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The actions at the given index.

getActionsBytes(int index)

public ByteString getActionsBytes(int index)

Output only. The custom actions that the predeploy Job executes.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the actions at the given index.

getActionsCount()

public int getActionsCount()

Output only. The custom actions that the predeploy Job executes.

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

Returns
TypeDescription
int

The count of actions.

getActionsList()

public ProtocolStringList getActionsList()

Output only. The custom actions that the predeploy Job executes.

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

Returns
TypeDescription
ProtocolStringList

A list containing the actions.

getDefaultInstanceForType()

public PredeployJob getDefaultInstanceForType()
Returns
TypeDescription
PredeployJob

getParserForType()

public Parser<PredeployJob> getParserForType()
Returns
TypeDescription
Parser<PredeployJob>
Overrides

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 PredeployJob.Builder newBuilderForType()
Returns
TypeDescription
PredeployJob.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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