Class PreviewArtifacts.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreviewArtifacts build()
Returns
TypeDescription
PreviewArtifacts

buildPartial()

public PreviewArtifacts buildPartial()
Returns
TypeDescription
PreviewArtifacts

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for content.

getDefaultInstanceForType()

public PreviewArtifacts getDefaultInstanceForType()
Returns
TypeDescription
PreviewArtifacts

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreviewArtifacts other)

public PreviewArtifacts.Builder mergeFrom(PreviewArtifacts other)
Parameter
NameDescription
otherPreviewArtifacts
Returns
TypeDescription
PreviewArtifacts.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The artifacts to set.

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

The bytes for artifacts to set.

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

The content to set.

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

The bytes for content to set.

Returns
TypeDescription
PreviewArtifacts.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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