Class DeploymentOperationMetadata (0.3.0)

public final class DeploymentOperationMetadata extends GeneratedMessage implements DeploymentOperationMetadataOrBuilder

Ephemeral metadata depicting the state of the deployment operation.

Protobuf type google.cloud.designcenter.v1.DeploymentOperationMetadata

Static Fields

DEPLOYMENT_BUILD_FIELD_NUMBER

public static final int DEPLOYMENT_BUILD_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_FIELD_NUMBER

public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_LOGS_FIELD_NUMBER

public static final int DEPLOYMENT_LOGS_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_STEP_FIELD_NUMBER

public static final int DEPLOYMENT_STEP_FIELD_NUMBER
Field Value
Type Description
int

PREVIOUS_ATTEMPT_FIELD_NUMBER

public static final int PREVIOUS_ATTEMPT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentOperationMetadata getDefaultInstance()
Returns
Type Description
DeploymentOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentOperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeploymentOperationMetadata getDefaultInstanceForType()
Returns
Type Description
DeploymentOperationMetadata

getDeployment()

public String getDeployment()

Output only. The name of the deployment associated with the application.

string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The deployment.

getDeploymentBuild()

public String getDeploymentBuild()

Output only. Cloud Build instance UUID associated with this deployment.

string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The deploymentBuild.

getDeploymentBuildBytes()

public ByteString getDeploymentBuildBytes()

Output only. Cloud Build instance UUID associated with this deployment.

string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for deploymentBuild.

getDeploymentBytes()

public ByteString getDeploymentBytes()

Output only. The name of the deployment associated with the application.

string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for deployment.

getDeploymentLogs()

public String getDeploymentLogs()

Output only. Location of the deployment operation logs in gs://{bucket}/{object} format.

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

Returns
Type Description
String

The deploymentLogs.

getDeploymentLogsBytes()

public ByteString getDeploymentLogsBytes()

Output only. Location of the deployment operation logs in gs://{bucket}/{object} format.

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

Returns
Type Description
ByteString

The bytes for deploymentLogs.

getDeploymentStep()

public String getDeploymentStep()

Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.

string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The deploymentStep.

getDeploymentStepBytes()

public ByteString getDeploymentStepBytes()

Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.

string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for deploymentStep.

getParserForType()

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

getPreviousAttempt()

public DeploymentAttemptMetadata getPreviousAttempt()

Previous deployment attempt metadata.

.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;

Returns
Type Description
DeploymentAttemptMetadata

The previousAttempt.

getPreviousAttemptOrBuilder()

public DeploymentAttemptMetadataOrBuilder getPreviousAttemptOrBuilder()

Previous deployment attempt metadata.

.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;

Returns
Type Description
DeploymentAttemptMetadataOrBuilder

getResources(int index)

public Resource getResources(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
Resource

getResourcesCount()

public int getResourcesCount()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
int

getResourcesList()

public List<Resource> getResourcesList()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Returns
Type Description
List<Resource>

getResourcesOrBuilder(int index)

public ResourceOrBuilder getResourcesOrBuilder(int index)

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

Parameter
Name Description
index int
Returns
Type Description
ResourceOrBuilder

getResourcesOrBuilderList()

public List<? extends ResourceOrBuilder> getResourcesOrBuilderList()

Details of the [Resources][]s in the deployment.

repeated .google.cloud.designcenter.v1.Resource resources = 8;

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPreviousAttempt()

public boolean hasPreviousAttempt()

Previous deployment attempt metadata.

.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;

Returns
Type Description
boolean

Whether the previousAttempt field is set.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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