Class Statefile.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Statefile build()
Returns
TypeDescription
Statefile

buildPartial()

public Statefile buildPartial()
Returns
TypeDescription
Statefile

clear()

public Statefile.Builder clear()
Returns
TypeDescription
Statefile.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Statefile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Statefile.Builder

This builder for chaining.

clone()

public Statefile.Builder clone()
Returns
TypeDescription
Statefile.Builder
Overrides

getDefaultInstanceForType()

public Statefile getDefaultInstanceForType()
Returns
TypeDescription
Statefile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for signedUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Statefile other)

public Statefile.Builder mergeFrom(Statefile other)
Parameter
NameDescription
otherStatefile
Returns
TypeDescription
Statefile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Statefile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Statefile.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Statefile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The signedUri to set.

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

The bytes for signedUri to set.

Returns
TypeDescription
Statefile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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