Class Statefile.Builder (0.30.0)

public static final class Statefile.Builder extends GeneratedMessageV3.Builder<Statefile.Builder> implements StatefileOrBuilder

Contains info about a Terraform state file

Protobuf type google.cloud.config.v1.Statefile

Implements

StatefileOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Statefile build()
Returns
Type Description
Statefile

buildPartial()

public Statefile buildPartial()
Returns
Type Description
Statefile

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSignedUri()

public Statefile.Builder clearSignedUri()

Output only. Cloud Storage signed URI used for downloading or uploading the state file.

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

Returns
Type Description
Statefile.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Statefile getDefaultInstanceForType()
Returns
Type Description
Statefile

getDescriptorForType()

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

getSignedUri()

public String getSignedUri()

Output only. Cloud Storage signed URI used for downloading or uploading the state file.

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

Returns
Type Description
String

The signedUri.

getSignedUriBytes()

public ByteString getSignedUriBytes()

Output only. Cloud Storage signed URI used for downloading or uploading the state file.

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

Returns
Type Description
ByteString

The bytes for signedUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Statefile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSignedUri(String value)

public Statefile.Builder setSignedUri(String value)

Output only. Cloud Storage signed URI used for downloading or uploading the state file.

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

Parameter
Name Description
value String

The signedUri to set.

Returns
Type Description
Statefile.Builder

This builder for chaining.

setSignedUriBytes(ByteString value)

public Statefile.Builder setSignedUriBytes(ByteString value)

Output only. Cloud Storage signed URI used for downloading or uploading the state file.

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

Parameter
Name Description
value ByteString

The bytes for signedUri to set.

Returns
Type Description
Statefile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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