Class PreviewOperationMetadata.Builder (0.19.0)

public static final class PreviewOperationMetadata.Builder extends GeneratedMessageV3.Builder<PreviewOperationMetadata.Builder> implements PreviewOperationMetadataOrBuilder

Ephemeral metadata content describing the state of a preview operation.

Protobuf type google.cloud.config.v1.PreviewOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreviewOperationMetadata build()
Returns
Type Description
PreviewOperationMetadata

buildPartial()

public PreviewOperationMetadata buildPartial()
Returns
Type Description
PreviewOperationMetadata

clear()

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

clearBuild()

public PreviewOperationMetadata.Builder clearBuild()

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

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

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreviewOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PreviewOperationMetadata.Builder
Overrides

clearLogs()

public PreviewOperationMetadata.Builder clearLogs()

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

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

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PreviewOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PreviewOperationMetadata.Builder
Overrides

clearPreviewArtifacts()

public PreviewOperationMetadata.Builder clearPreviewArtifacts()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
Type Description
PreviewOperationMetadata.Builder

clearStep()

public PreviewOperationMetadata.Builder clearStep()

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

clone()

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

getBuild()

public String getBuild()

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

string build = 4 [(.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 preview.

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

Returns
Type Description
ByteString

The bytes for build.

getDefaultInstanceForType()

public PreviewOperationMetadata getDefaultInstanceForType()
Returns
Type Description
PreviewOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLogs()

public String getLogs()

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

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

Returns
Type Description
String

The logs.

getLogsBytes()

public ByteString getLogsBytes()

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

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

Returns
Type Description
ByteString

The bytes for logs.

getPreviewArtifacts()

public PreviewArtifacts getPreviewArtifacts()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
Type Description
PreviewArtifacts

The previewArtifacts.

getPreviewArtifactsBuilder()

public PreviewArtifacts.Builder getPreviewArtifactsBuilder()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
Type Description
PreviewArtifacts.Builder

getPreviewArtifactsOrBuilder()

public PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
Type Description
PreviewArtifactsOrBuilder

getStep()

public PreviewOperationMetadata.PreviewStep getStep()

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Returns
Type Description
PreviewOperationMetadata.PreviewStep

The step.

getStepValue()

public int getStepValue()

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Returns
Type Description
int

The enum numeric value on the wire for step.

hasPreviewArtifacts()

public boolean hasPreviewArtifacts()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
Type Description
boolean

Whether the previewArtifacts field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreviewOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePreviewArtifacts(PreviewArtifacts value)

public PreviewOperationMetadata.Builder mergePreviewArtifacts(PreviewArtifacts value)

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Parameter
Name Description
value PreviewArtifacts
Returns
Type Description
PreviewOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreviewOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreviewOperationMetadata.Builder
Overrides

setBuild(String value)

public PreviewOperationMetadata.Builder setBuild(String value)

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

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

Parameter
Name Description
value String

The build to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setBuildBytes(ByteString value)

public PreviewOperationMetadata.Builder setBuildBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for build to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLogs(String value)

public PreviewOperationMetadata.Builder setLogs(String value)

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

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

Parameter
Name Description
value String

The logs to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setLogsBytes(ByteString value)

public PreviewOperationMetadata.Builder setLogsBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for logs to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setPreviewArtifacts(PreviewArtifacts value)

public PreviewOperationMetadata.Builder setPreviewArtifacts(PreviewArtifacts value)

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Parameter
Name Description
value PreviewArtifacts
Returns
Type Description
PreviewOperationMetadata.Builder

setPreviewArtifacts(PreviewArtifacts.Builder builderForValue)

public PreviewOperationMetadata.Builder setPreviewArtifacts(PreviewArtifacts.Builder builderForValue)

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Parameter
Name Description
builderForValue PreviewArtifacts.Builder
Returns
Type Description
PreviewOperationMetadata.Builder

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

public PreviewOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PreviewOperationMetadata.Builder
Overrides

setStep(PreviewOperationMetadata.PreviewStep value)

public PreviewOperationMetadata.Builder setStep(PreviewOperationMetadata.PreviewStep value)

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Parameter
Name Description
value PreviewOperationMetadata.PreviewStep

The step to set.

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setStepValue(int value)

public PreviewOperationMetadata.Builder setStepValue(int value)

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Parameter
Name Description
value int

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

Returns
Type Description
PreviewOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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