Class PreviewOperationMetadata.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreviewOperationMetadata build()
Returns
TypeDescription
PreviewOperationMetadata

buildPartial()

public PreviewOperationMetadata buildPartial()
Returns
TypeDescription
PreviewOperationMetadata

clear()

public PreviewOperationMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
PreviewOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreviewOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
PreviewOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPreviewArtifacts()

public PreviewOperationMetadata.Builder clearPreviewArtifacts()

Artifacts from preview.

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

Returns
TypeDescription
PreviewOperationMetadata.Builder

clearStep()

public PreviewOperationMetadata.Builder clearStep()

The current step the preview operation is running.

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

Returns
TypeDescription
PreviewOperationMetadata.Builder

This builder for chaining.

clone()

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

The bytes for build.

getDefaultInstanceForType()

public PreviewOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
PreviewOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for logs.

getPreviewArtifacts()

public PreviewArtifacts getPreviewArtifacts()

Artifacts from preview.

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

Returns
TypeDescription
PreviewArtifacts

The previewArtifacts.

getPreviewArtifactsBuilder()

public PreviewArtifacts.Builder getPreviewArtifactsBuilder()

Artifacts from preview.

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

Returns
TypeDescription
PreviewArtifacts.Builder

getPreviewArtifactsOrBuilder()

public PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder()

Artifacts from preview.

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

Returns
TypeDescription
PreviewArtifactsOrBuilder

getStep()

public PreviewOperationMetadata.PreviewStep getStep()

The current step the preview operation is running.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the previewArtifacts field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreviewOperationMetadata other)

public PreviewOperationMetadata.Builder mergeFrom(PreviewOperationMetadata other)
Parameter
NameDescription
otherPreviewOperationMetadata
Returns
TypeDescription
PreviewOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePreviewArtifacts(PreviewArtifacts value)

public PreviewOperationMetadata.Builder mergePreviewArtifacts(PreviewArtifacts value)

Artifacts from preview.

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

Parameter
NameDescription
valuePreviewArtifacts
Returns
TypeDescription
PreviewOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreviewOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The build to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for build to set.

Returns
TypeDescription
PreviewOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PreviewOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The logs to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for logs to set.

Returns
TypeDescription
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
NameDescription
valuePreviewArtifacts
Returns
TypeDescription
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
NameDescription
builderForValuePreviewArtifacts.Builder
Returns
TypeDescription
PreviewOperationMetadata.Builder

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

public PreviewOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuePreviewOperationMetadata.PreviewStep

The step to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
PreviewOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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