Class ResourceTerraformInfo.Builder (0.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourceTerraformInfo build()
Returns
TypeDescription
ResourceTerraformInfo

buildPartial()

public ResourceTerraformInfo buildPartial()
Returns
TypeDescription
ResourceTerraformInfo

clear()

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

clearAddress()

public ResourceTerraformInfo.Builder clearAddress()

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

string address = 1;

Returns
TypeDescription
ResourceTerraformInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public ResourceTerraformInfo.Builder clearId()

ID attribute of the TF resource

string id = 3;

Returns
TypeDescription
ResourceTerraformInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public ResourceTerraformInfo.Builder clearType()

TF resource type

string type = 2;

Returns
TypeDescription
ResourceTerraformInfo.Builder

This builder for chaining.

clone()

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

getAddress()

public String getAddress()

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

string address = 1;

Returns
TypeDescription
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

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

string address = 1;

Returns
TypeDescription
ByteString

The bytes for address.

getDefaultInstanceForType()

public ResourceTerraformInfo getDefaultInstanceForType()
Returns
TypeDescription
ResourceTerraformInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

ID attribute of the TF resource

string id = 3;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

ID attribute of the TF resource

string id = 3;

Returns
TypeDescription
ByteString

The bytes for id.

getType()

public String getType()

TF resource type

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

TF resource type

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourceTerraformInfo other)

public ResourceTerraformInfo.Builder mergeFrom(ResourceTerraformInfo other)
Parameter
NameDescription
otherResourceTerraformInfo
Returns
TypeDescription
ResourceTerraformInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The address to set.

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

The bytes for address to set.

Returns
TypeDescription
ResourceTerraformInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public ResourceTerraformInfo.Builder setId(String value)

ID attribute of the TF resource

string id = 3;

Parameter
NameDescription
valueString

The id to set.

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

The bytes for id to set.

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

setType(String value)

public ResourceTerraformInfo.Builder setType(String value)

TF resource type

string type = 2;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
ResourceTerraformInfo.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public ResourceTerraformInfo.Builder setTypeBytes(ByteString value)

TF resource type

string type = 2;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
ResourceTerraformInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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