Class PreviewResult.Builder (0.30.0)

public static final class PreviewResult.Builder extends GeneratedMessageV3.Builder<PreviewResult.Builder> implements PreviewResultOrBuilder

Contains a signed Cloud Storage URLs.

Protobuf type google.cloud.config.v1.PreviewResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreviewResult build()
Returns
Type Description
PreviewResult

buildPartial()

public PreviewResult buildPartial()
Returns
Type Description
PreviewResult

clear()

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

clearBinarySignedUri()

public PreviewResult.Builder clearBinarySignedUri()

Output only. Plan binary signed URL

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

Returns
Type Description
PreviewResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearJsonSignedUri()

public PreviewResult.Builder clearJsonSignedUri()

Output only. Plan JSON signed URL

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

Returns
Type Description
PreviewResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBinarySignedUri()

public String getBinarySignedUri()

Output only. Plan binary signed URL

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

Returns
Type Description
String

The binarySignedUri.

getBinarySignedUriBytes()

public ByteString getBinarySignedUriBytes()

Output only. Plan binary signed URL

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

Returns
Type Description
ByteString

The bytes for binarySignedUri.

getDefaultInstanceForType()

public PreviewResult getDefaultInstanceForType()
Returns
Type Description
PreviewResult

getDescriptorForType()

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

getJsonSignedUri()

public String getJsonSignedUri()

Output only. Plan JSON signed URL

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

Returns
Type Description
String

The jsonSignedUri.

getJsonSignedUriBytes()

public ByteString getJsonSignedUriBytes()

Output only. Plan JSON signed URL

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

Returns
Type Description
ByteString

The bytes for jsonSignedUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreviewResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBinarySignedUri(String value)

public PreviewResult.Builder setBinarySignedUri(String value)

Output only. Plan binary signed URL

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

Parameter
Name Description
value String

The binarySignedUri to set.

Returns
Type Description
PreviewResult.Builder

This builder for chaining.

setBinarySignedUriBytes(ByteString value)

public PreviewResult.Builder setBinarySignedUriBytes(ByteString value)

Output only. Plan binary signed URL

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

Parameter
Name Description
value ByteString

The bytes for binarySignedUri to set.

Returns
Type Description
PreviewResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setJsonSignedUri(String value)

public PreviewResult.Builder setJsonSignedUri(String value)

Output only. Plan JSON signed URL

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

Parameter
Name Description
value String

The jsonSignedUri to set.

Returns
Type Description
PreviewResult.Builder

This builder for chaining.

setJsonSignedUriBytes(ByteString value)

public PreviewResult.Builder setJsonSignedUriBytes(ByteString value)

Output only. Plan JSON signed URL

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

Parameter
Name Description
value ByteString

The bytes for jsonSignedUri to set.

Returns
Type Description
PreviewResult.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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