Class DeploymentOperationMetadata.Builder (0.12.0)

public static final class DeploymentOperationMetadata.Builder extends GeneratedMessageV3.Builder<DeploymentOperationMetadata.Builder> implements DeploymentOperationMetadataOrBuilder

Ephemeral metadata content describing the state of a deployment operation.

Protobuf type google.cloud.config.v1.DeploymentOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

build()

public DeploymentOperationMetadata build()
Returns
TypeDescription
DeploymentOperationMetadata

buildPartial()

public DeploymentOperationMetadata buildPartial()
Returns
TypeDescription
DeploymentOperationMetadata

clear()

public DeploymentOperationMetadata.Builder clear()
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

clearApplyResults()

public DeploymentOperationMetadata.Builder clearApplyResults()

Outputs and artifacts from applying a deployment.

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

Returns
TypeDescription
DeploymentOperationMetadata.Builder

clearBuild()

public DeploymentOperationMetadata.Builder clearBuild()

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

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

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeploymentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

clearLogs()

public DeploymentOperationMetadata.Builder clearLogs()

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

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

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

clearStep()

public DeploymentOperationMetadata.Builder clearStep()

The current step the deployment operation is running.

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

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

clone()

public DeploymentOperationMetadata.Builder clone()
Returns
TypeDescription
DeploymentOperationMetadata.Builder
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.

getApplyResultsBuilder()

public ApplyResults.Builder getApplyResultsBuilder()

Outputs and artifacts from applying a deployment.

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

Returns
TypeDescription
ApplyResults.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeApplyResults(ApplyResults value)

public DeploymentOperationMetadata.Builder mergeApplyResults(ApplyResults value)

Outputs and artifacts from applying a deployment.

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

Parameter
NameDescription
valueApplyResults
Returns
TypeDescription
DeploymentOperationMetadata.Builder

mergeFrom(DeploymentOperationMetadata other)

public DeploymentOperationMetadata.Builder mergeFrom(DeploymentOperationMetadata other)
Parameter
NameDescription
otherDeploymentOperationMetadata
Returns
TypeDescription
DeploymentOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeploymentOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

setApplyResults(ApplyResults value)

public DeploymentOperationMetadata.Builder setApplyResults(ApplyResults value)

Outputs and artifacts from applying a deployment.

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

Parameter
NameDescription
valueApplyResults
Returns
TypeDescription
DeploymentOperationMetadata.Builder

setApplyResults(ApplyResults.Builder builderForValue)

public DeploymentOperationMetadata.Builder setApplyResults(ApplyResults.Builder builderForValue)

Outputs and artifacts from applying a deployment.

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

Parameter
NameDescription
builderForValueApplyResults.Builder
Returns
TypeDescription
DeploymentOperationMetadata.Builder

setBuild(String value)

public DeploymentOperationMetadata.Builder setBuild(String value)

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

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

Parameter
NameDescription
valueString

The build to set.

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

setBuildBytes(ByteString value)

public DeploymentOperationMetadata.Builder setBuildBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for build to set.

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

setLogs(String value)

public DeploymentOperationMetadata.Builder setLogs(String value)

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

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

Parameter
NameDescription
valueString

The logs to set.

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

setLogsBytes(ByteString value)

public DeploymentOperationMetadata.Builder setLogsBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for logs to set.

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeploymentOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides

setStep(DeploymentOperationMetadata.DeploymentStep value)

public DeploymentOperationMetadata.Builder setStep(DeploymentOperationMetadata.DeploymentStep value)

The current step the deployment operation is running.

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

Parameter
NameDescription
valueDeploymentOperationMetadata.DeploymentStep

The step to set.

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

setStepValue(int value)

public DeploymentOperationMetadata.Builder setStepValue(int value)

The current step the deployment operation is running.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for step to set.

Returns
TypeDescription
DeploymentOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeploymentOperationMetadata.Builder
Overrides