Class DeploymentError (0.3.0)

public final class DeploymentError extends GeneratedMessage implements DeploymentErrorOrBuilder

The error associated with the deployment.

Protobuf type google.cloud.designcenter.v1.DeploymentError

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_FAILURE_RESOLUTION_INFO_FIELD_NUMBER

public static final int DEPLOYMENT_FAILURE_RESOLUTION_INFO_FIELD_NUMBER
Field Value
Type Description
int

DETAIL_FIELD_NUMBER

public static final int DETAIL_FIELD_NUMBER
Field Value
Type Description
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

TF_ERRORS_FIELD_NUMBER

public static final int TF_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentError getDefaultInstance()
Returns
Type Description
DeploymentError

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentError prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public Deployment.ErrorCode getCode()

Output only. The deployment error code. Based on Infrastructure Manager error codes.

.google.cloud.config.v1.Deployment.ErrorCode code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.cloud.config.v1.Deployment.ErrorCode

The code.

getCodeValue()

public int getCodeValue()

Output only. The deployment error code. Based on Infrastructure Manager error codes.

.google.cloud.config.v1.Deployment.ErrorCode code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public DeploymentError getDefaultInstanceForType()
Returns
Type Description
DeploymentError

getDeploymentFailureResolutionInfo(int index)

public DeploymentFailureResolutionInfo getDeploymentFailureResolutionInfo(int index)

Output only. The call to actions associated with the deployment issue.

repeated .google.cloud.designcenter.v1.DeploymentFailureResolutionInfo deployment_failure_resolution_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DeploymentFailureResolutionInfo

getDeploymentFailureResolutionInfoCount()

public int getDeploymentFailureResolutionInfoCount()

Output only. The call to actions associated with the deployment issue.

repeated .google.cloud.designcenter.v1.DeploymentFailureResolutionInfo deployment_failure_resolution_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDeploymentFailureResolutionInfoList()

public List<DeploymentFailureResolutionInfo> getDeploymentFailureResolutionInfoList()

Output only. The call to actions associated with the deployment issue.

repeated .google.cloud.designcenter.v1.DeploymentFailureResolutionInfo deployment_failure_resolution_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DeploymentFailureResolutionInfo>

getDeploymentFailureResolutionInfoOrBuilder(int index)

public DeploymentFailureResolutionInfoOrBuilder getDeploymentFailureResolutionInfoOrBuilder(int index)

Output only. The call to actions associated with the deployment issue.

repeated .google.cloud.designcenter.v1.DeploymentFailureResolutionInfo deployment_failure_resolution_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DeploymentFailureResolutionInfoOrBuilder

getDeploymentFailureResolutionInfoOrBuilderList()

public List<? extends DeploymentFailureResolutionInfoOrBuilder> getDeploymentFailureResolutionInfoOrBuilderList()

Output only. The call to actions associated with the deployment issue.

repeated .google.cloud.designcenter.v1.DeploymentFailureResolutionInfo deployment_failure_resolution_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.DeploymentFailureResolutionInfoOrBuilder>

getDetail()

public String getDetail()

Output only. Human readable string that summarizes the deployment error issue.

string detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

Output only. Human readable string that summarizes the deployment error issue.

string detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for detail.

getErrorMessage()

public String getErrorMessage()

Output only. Stores errors generated by Infra Manager, as well as all non-internal errors (such as INVALID_ARGUMENT) that occur before initiating the deployment.

string error_message = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Output only. Stores errors generated by Infra Manager, as well as all non-internal errors (such as INVALID_ARGUMENT) that occur before initiating the deployment.

string error_message = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorMessage.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTfErrors(int index)

public TerraformError getTfErrors(int index)

Output only. The error message associated with the deployment.

repeated .google.cloud.config.v1.TerraformError tf_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.cloud.config.v1.TerraformError

getTfErrorsCount()

public int getTfErrorsCount()

Output only. The error message associated with the deployment.

repeated .google.cloud.config.v1.TerraformError tf_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTfErrorsList()

public List<TerraformError> getTfErrorsList()

Output only. The error message associated with the deployment.

repeated .google.cloud.config.v1.TerraformError tf_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.cloud.config.v1.TerraformError>

getTfErrorsOrBuilder(int index)

public TerraformErrorOrBuilder getTfErrorsOrBuilder(int index)

Output only. The error message associated with the deployment.

repeated .google.cloud.config.v1.TerraformError tf_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.cloud.config.v1.TerraformErrorOrBuilder

getTfErrorsOrBuilderList()

public List<? extends TerraformErrorOrBuilder> getTfErrorsOrBuilderList()

Output only. The error message associated with the deployment.

repeated .google.cloud.config.v1.TerraformError tf_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.config.v1.TerraformErrorOrBuilder>

getType()

public DeploymentError.ErrorType getType()

Output only. The error type based on the deployment error code.

.google.cloud.designcenter.v1.DeploymentError.ErrorType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentError.ErrorType

The type.

getTypeValue()

public int getTypeValue()

Output only. The error type based on the deployment error code.

.google.cloud.designcenter.v1.DeploymentError.ErrorType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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