Class PreviewArtifacts.Builder (0.22.0)

public static final class PreviewArtifacts.Builder extends GeneratedMessageV3.Builder<PreviewArtifacts.Builder> implements PreviewArtifactsOrBuilder

Artifacts created by preview.

Protobuf type google.cloud.config.v1.PreviewArtifacts

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreviewArtifacts build()
Returns
Type Description
PreviewArtifacts

buildPartial()

public PreviewArtifacts buildPartial()
Returns
Type Description
PreviewArtifacts

clear()

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

clearArtifacts()

public PreviewArtifacts.Builder clearArtifacts()

Output only. Location of artifacts in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreviewArtifacts.Builder

This builder for chaining.

clearContent()

public PreviewArtifacts.Builder clearContent()

Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreviewArtifacts.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getArtifacts()

public String getArtifacts()

Output only. Location of artifacts in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The artifacts.

getArtifactsBytes()

public ByteString getArtifactsBytes()

Output only. Location of artifacts in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for artifacts.

getContent()

public String getContent()

Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public PreviewArtifacts getDefaultInstanceForType()
Returns
Type Description
PreviewArtifacts

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreviewArtifacts other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setArtifacts(String value)

public PreviewArtifacts.Builder setArtifacts(String value)

Output only. Location of artifacts in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The artifacts to set.

Returns
Type Description
PreviewArtifacts.Builder

This builder for chaining.

setArtifactsBytes(ByteString value)

public PreviewArtifacts.Builder setArtifactsBytes(ByteString value)

Output only. Location of artifacts in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for artifacts to set.

Returns
Type Description
PreviewArtifacts.Builder

This builder for chaining.

setContent(String value)

public PreviewArtifacts.Builder setContent(String value)

Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The content to set.

Returns
Type Description
PreviewArtifacts.Builder

This builder for chaining.

setContentBytes(ByteString value)

public PreviewArtifacts.Builder setContentBytes(ByteString value)

Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
PreviewArtifacts.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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