Class DeploymentAttemptMetadata (0.3.0)

public final class DeploymentAttemptMetadata extends GeneratedMessage implements DeploymentAttemptMetadataOrBuilder

DeploymentAttemptMetadata represents a previous deployment attempt for an operation that failed due to a retryable error.

Protobuf type google.cloud.designcenter.v1.DeploymentAttemptMetadata

Static Fields

ATTEMPT_FIELD_NUMBER

public static final int ATTEMPT_FIELD_NUMBER
Field Value
Type Description
int

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
Type Description
int

ERROR_DETAIL_FIELD_NUMBER

public static final int ERROR_DETAIL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentAttemptMetadata getDefaultInstance()
Returns
Type Description
DeploymentAttemptMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentAttemptMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttempt()

public int getAttempt()

The sequential number of the attempt (starting from 1).

int32 attempt = 1;

Returns
Type Description
int

The attempt.

getBuild()

public String getBuild()

The build or execution ID associated with this specific attempt. This can be used to link back to logs or trace information.

string build = 3;

Returns
Type Description
String

The build.

getBuildBytes()

public ByteString getBuildBytes()

The build or execution ID associated with this specific attempt. This can be used to link back to logs or trace information.

string build = 3;

Returns
Type Description
ByteString

The bytes for build.

getDefaultInstanceForType()

public DeploymentAttemptMetadata getDefaultInstanceForType()
Returns
Type Description
DeploymentAttemptMetadata

getErrorDetail()

public String getErrorDetail()

Human readable string that summarizes the deployment error issue.

string error_detail = 2;

Returns
Type Description
String

The errorDetail.

getErrorDetailBytes()

public ByteString getErrorDetailBytes()

Human readable string that summarizes the deployment error issue.

string error_detail = 2;

Returns
Type Description
ByteString

The bytes for errorDetail.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeploymentAttemptMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeploymentAttemptMetadata.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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