Class ResourceTerraformInfo.Builder (0.25.0)

public static final class ResourceTerraformInfo.Builder extends GeneratedMessageV3.Builder<ResourceTerraformInfo.Builder> implements ResourceTerraformInfoOrBuilder

Terraform info of a Resource.

Protobuf type google.cloud.config.v1.ResourceTerraformInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourceTerraformInfo build()
Returns
Type Description
ResourceTerraformInfo

buildPartial()

public ResourceTerraformInfo buildPartial()
Returns
Type Description
ResourceTerraformInfo

clear()

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

clearAddress()

public ResourceTerraformInfo.Builder clearAddress()

TF resource address that uniquely identifies this resource within this deployment.

string address = 1;

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public ResourceTerraformInfo.Builder clearId()

ID attribute of the TF resource

string id = 3;

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public ResourceTerraformInfo.Builder clearType()

TF resource type

string type = 2;

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

clone()

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

getAddress()

public String getAddress()

TF resource address that uniquely identifies this resource within this deployment.

string address = 1;

Returns
Type Description
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

TF resource address that uniquely identifies this resource within this deployment.

string address = 1;

Returns
Type Description
ByteString

The bytes for address.

getDefaultInstanceForType()

public ResourceTerraformInfo getDefaultInstanceForType()
Returns
Type Description
ResourceTerraformInfo

getDescriptorForType()

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

getId()

public String getId()

ID attribute of the TF resource

string id = 3;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

ID attribute of the TF resource

string id = 3;

Returns
Type Description
ByteString

The bytes for id.

getType()

public String getType()

TF resource type

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

TF resource type

string type = 2;

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceTerraformInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAddress(String value)

public ResourceTerraformInfo.Builder setAddress(String value)

TF resource address that uniquely identifies this resource within this deployment.

string address = 1;

Parameter
Name Description
value String

The address to set.

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public ResourceTerraformInfo.Builder setAddressBytes(ByteString value)

TF resource address that uniquely identifies this resource within this deployment.

string address = 1;

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public ResourceTerraformInfo.Builder setId(String value)

ID attribute of the TF resource

string id = 3;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ResourceTerraformInfo.Builder setIdBytes(ByteString value)

ID attribute of the TF resource

string id = 3;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

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

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

setType(String value)

public ResourceTerraformInfo.Builder setType(String value)

TF resource type

string type = 2;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public ResourceTerraformInfo.Builder setTypeBytes(ByteString value)

TF resource type

string type = 2;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
ResourceTerraformInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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