Class DeploymentOperationMetadata.Builder (0.31.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeploymentOperationMetadata.Builder
Overrides

build()

public DeploymentOperationMetadata build()
Returns
Type Description
DeploymentOperationMetadata

buildPartial()

public DeploymentOperationMetadata buildPartial()
Returns
Type Description
DeploymentOperationMetadata

clear()

public DeploymentOperationMetadata.Builder clear()
Returns
Type Description
DeploymentOperationMetadata.Builder
Overrides

clearApplyResults()

public DeploymentOperationMetadata.Builder clearApplyResults()

Outputs and artifacts from applying a deployment.

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeploymentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
DeploymentOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
DeploymentOperationMetadata.Builder

This builder for chaining.

clone()

public DeploymentOperationMetadata.Builder clone()
Returns
Type Description
DeploymentOperationMetadata.Builder
Overrides

getApplyResults()

public ApplyResults getApplyResults()

Outputs and artifacts from applying a deployment.

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

Returns
Type Description
ApplyResults

The applyResults.

getApplyResultsBuilder()

public ApplyResults.Builder getApplyResultsBuilder()

Outputs and artifacts from applying a deployment.

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

Returns
Type Description
ApplyResults.Builder

getApplyResultsOrBuilder()

public ApplyResultsOrBuilder getApplyResultsOrBuilder()

Outputs and artifacts from applying a deployment.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for build.

getDefaultInstanceForType()

public DeploymentOperationMetadata getDefaultInstanceForType()
Returns
Type Description
DeploymentOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the applyResults field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value ApplyResults
Returns
Type Description
DeploymentOperationMetadata.Builder

mergeFrom(DeploymentOperationMetadata other)

public DeploymentOperationMetadata.Builder mergeFrom(DeploymentOperationMetadata other)
Parameter
Name Description
other DeploymentOperationMetadata
Returns
Type Description
DeploymentOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentOperationMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeploymentOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeploymentOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value ApplyResults
Returns
Type Description
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
Name Description
builderForValue ApplyResults.Builder
Returns
Type Description
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
Name Description
value String

The build to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for build to set.

Returns
Type Description
DeploymentOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The logs to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for logs to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value DeploymentOperationMetadata.DeploymentStep

The step to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
DeploymentOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentOperationMetadata.Builder
Overrides