Class DeployJobRunMetadata (1.33.0)

public final class DeployJobRunMetadata extends GeneratedMessageV3 implements DeployJobRunMetadataOrBuilder

DeployJobRunMetadata surfaces information associated with a DeployJobRun to the user.

Protobuf type google.cloud.deploy.v1.DeployJobRunMetadata

Static Fields

CLOUD_RUN_FIELD_NUMBER

public static final int CLOUD_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_FIELD_NUMBER

public static final int CUSTOM_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_TARGET_FIELD_NUMBER

public static final int CUSTOM_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeployJobRunMetadata getDefaultInstance()
Returns
TypeDescription
DeployJobRunMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(DeployJobRunMetadata prototype)

public static DeployJobRunMetadata.Builder newBuilder(DeployJobRunMetadata prototype)
Parameter
NameDescription
prototypeDeployJobRunMetadata
Returns
TypeDescription
DeployJobRunMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudRun()

public CloudRunMetadata getCloudRun()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CloudRunMetadata

The cloudRun.

getCloudRunOrBuilder()

public CloudRunMetadataOrBuilder getCloudRunOrBuilder()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CloudRunMetadataOrBuilder

getCustom()

public CustomMetadata getCustom()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomMetadata

The custom.

getCustomOrBuilder()

public CustomMetadataOrBuilder getCustomOrBuilder()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomMetadataOrBuilder

getCustomTarget()

public CustomTargetDeployMetadata getCustomTarget()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomTargetDeployMetadata

The customTarget.

getCustomTargetOrBuilder()

public CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomTargetDeployMetadataOrBuilder

getDefaultInstanceForType()

public DeployJobRunMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeployJobRunMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCloudRun()

public boolean hasCloudRun()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the cloudRun field is set.

hasCustom()

public boolean hasCustom()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the custom field is set.

hasCustomTarget()

public boolean hasCustomTarget()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the customTarget field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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