public static final class DeploymentAttemptMetadata.Builder extends GeneratedMessage.Builder<DeploymentAttemptMetadata.Builder> implements DeploymentAttemptMetadataOrBuilderDeploymentAttemptMetadata represents a previous deployment attempt for an operation that failed due to a retryable error.
Protobuf type google.cloud.designcenter.v1.DeploymentAttemptMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeploymentAttemptMetadata.BuilderImplements
DeploymentAttemptMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeploymentAttemptMetadata build()| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata |
|
buildPartial()
public DeploymentAttemptMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata |
|
clear()
public DeploymentAttemptMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
|
clearAttempt()
public DeploymentAttemptMetadata.Builder clearAttempt()The sequential number of the attempt (starting from 1).
int32 attempt = 1;
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
clearBuild()
public DeploymentAttemptMetadata.Builder clearBuild()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 |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
clearErrorDetail()
public DeploymentAttemptMetadata.Builder clearErrorDetail()Human readable string that summarizes the deployment error issue.
string error_detail = 2;
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeploymentAttemptMetadata other)
public DeploymentAttemptMetadata.Builder mergeFrom(DeploymentAttemptMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentAttemptMetadata |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentAttemptMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentAttemptMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
|
setAttempt(int value)
public DeploymentAttemptMetadata.Builder setAttempt(int value)The sequential number of the attempt (starting from 1).
int32 attempt = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe attempt to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
setBuild(String value)
public DeploymentAttemptMetadata.Builder setBuild(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe build to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
setBuildBytes(ByteString value)
public DeploymentAttemptMetadata.Builder setBuildBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for build to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
setErrorDetail(String value)
public DeploymentAttemptMetadata.Builder setErrorDetail(String value)Human readable string that summarizes the deployment error issue.
string error_detail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorDetail to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |
setErrorDetailBytes(ByteString value)
public DeploymentAttemptMetadata.Builder setErrorDetailBytes(ByteString value)Human readable string that summarizes the deployment error issue.
string error_detail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorDetail to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
This builder for chaining. |