Class PreviewResult.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreviewResult build()
Returns
TypeDescription
PreviewResult

buildPartial()

public PreviewResult buildPartial()
Returns
TypeDescription
PreviewResult

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for binarySignedUri.

getDefaultInstanceForType()

public PreviewResult getDefaultInstanceForType()
Returns
TypeDescription
PreviewResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJsonSignedUri()

public String getJsonSignedUri()

Output only. Plan JSON signed URL

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

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

The bytes for jsonSignedUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreviewResult other)

public PreviewResult.Builder mergeFrom(PreviewResult other)
Parameter
NameDescription
otherPreviewResult
Returns
TypeDescription
PreviewResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The binarySignedUri to set.

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

The bytes for binarySignedUri to set.

Returns
TypeDescription
PreviewResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The jsonSignedUri to set.

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

The bytes for jsonSignedUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreviewResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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