Class PreviewArtifacts.Builder (0.62.0)

public static final class PreviewArtifacts.Builder extends GeneratedMessage.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

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.

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 GeneratedMessage.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

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.