Class DeploymentOperationMetadata (0.4.0)

public final class DeploymentOperationMetadata extends GeneratedMessageV3 implements DeploymentOperationMetadataOrBuilder

Ephemeral metadata content describing the state of a deployment operation.

Protobuf type google.cloud.config.v1.DeploymentOperationMetadata

Static Fields

APPLY_RESULTS_FIELD_NUMBER

public static final int APPLY_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
TypeDescription
int

LOGS_FIELD_NUMBER

public static final int LOGS_FIELD_NUMBER
Field Value
TypeDescription
int

STEP_FIELD_NUMBER

public static final int STEP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeploymentOperationMetadata getDefaultInstance()
Returns
TypeDescription
DeploymentOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeploymentOperationMetadata.Builder newBuilder()
Returns
TypeDescription
DeploymentOperationMetadata.Builder

newBuilder(DeploymentOperationMetadata prototype)

public static DeploymentOperationMetadata.Builder newBuilder(DeploymentOperationMetadata prototype)
Parameter
NameDescription
prototypeDeploymentOperationMetadata
Returns
TypeDescription
DeploymentOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static DeploymentOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeploymentOperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeploymentOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeploymentOperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeploymentOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeploymentOperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeploymentOperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeploymentOperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeploymentOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeploymentOperationMetadata> parser()
Returns
TypeDescription
Parser<DeploymentOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApplyResults()

public ApplyResults getApplyResults()

Outputs and artifacts from applying a deployment.

.google.cloud.config.v1.ApplyResults apply_results = 2;

Returns
TypeDescription
ApplyResults

The applyResults.

getApplyResultsOrBuilder()

public ApplyResultsOrBuilder getApplyResultsOrBuilder()

Outputs and artifacts from applying a deployment.

.google.cloud.config.v1.ApplyResults apply_results = 2;

Returns
TypeDescription
ApplyResultsOrBuilder

getBuild()

public String getBuild()

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

string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The build.

getBuildBytes()

public ByteString getBuildBytes()

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

string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for build.

getDefaultInstanceForType()

public DeploymentOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeploymentOperationMetadata

getLogs()

public String getLogs()

Output only. Location of Deployment operations logs in gs://{bucket}/{object} format.

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

Returns
TypeDescription
String

The logs.

getLogsBytes()

public ByteString getLogsBytes()

Output only. Location of Deployment operations logs in gs://{bucket}/{object} format.

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

Returns
TypeDescription
ByteString

The bytes for logs.

getParserForType()

public Parser<DeploymentOperationMetadata> getParserForType()
Returns
TypeDescription
Parser<DeploymentOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStep()

public DeploymentOperationMetadata.DeploymentStep getStep()

The current step the deployment operation is running.

.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;

Returns
TypeDescription
DeploymentOperationMetadata.DeploymentStep

The step.

getStepValue()

public int getStepValue()

The current step the deployment operation is running.

.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for step.

hasApplyResults()

public boolean hasApplyResults()

Outputs and artifacts from applying a deployment.

.google.cloud.config.v1.ApplyResults apply_results = 2;

Returns
TypeDescription
boolean

Whether the applyResults field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeploymentOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
DeploymentOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeploymentOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeploymentOperationMetadata.Builder toBuilder()
Returns
TypeDescription
DeploymentOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException