Class DeployJobRunMetadata (1.51.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
Type Description
int

CUSTOM_FIELD_NUMBER

public static final int CUSTOM_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_TARGET_FIELD_NUMBER

public static final int CUSTOM_TARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeployJobRunMetadata getDefaultInstance()
Returns
Type Description
DeployJobRunMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(DeployJobRunMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeployJobRunMetadata getDefaultInstanceForType()
Returns
Type Description
DeployJobRunMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the customTarget field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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