Class ResourceDriftTerraformInfo.Builder (0.62.0)

public static final class ResourceDriftTerraformInfo.Builder extends GeneratedMessage.Builder<ResourceDriftTerraformInfo.Builder> implements ResourceDriftTerraformInfoOrBuilder

Terraform info of a ResourceChange.

Protobuf type google.cloud.config.v1.ResourceDriftTerraformInfo

Static Methods

getDescriptor()

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

Methods

build()

public ResourceDriftTerraformInfo build()
Returns
Type Description
ResourceDriftTerraformInfo

buildPartial()

public ResourceDriftTerraformInfo buildPartial()
Returns
Type Description
ResourceDriftTerraformInfo

clear()

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

clearAddress()

public ResourceDriftTerraformInfo.Builder clearAddress()

Output only. The address of the drifted resource.

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

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

clearProvider()

public ResourceDriftTerraformInfo.Builder clearProvider()

Output only. The provider of the drifted resource.

string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

clearResourceName()

public ResourceDriftTerraformInfo.Builder clearResourceName()

Output only. TF resource name.

string resource_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

clearType()

public ResourceDriftTerraformInfo.Builder clearType()

Output only. The type of the drifted resource.

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

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

getAddress()

public String getAddress()

Output only. The address of the drifted resource.

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

Returns
Type Description
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

Output only. The address of the drifted resource.

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

Returns
Type Description
ByteString

The bytes for address.

getDefaultInstanceForType()

public ResourceDriftTerraformInfo getDefaultInstanceForType()
Returns
Type Description
ResourceDriftTerraformInfo

getDescriptorForType()

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

getProvider()

public String getProvider()

Output only. The provider of the drifted resource.

string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The provider.

getProviderBytes()

public ByteString getProviderBytes()

Output only. The provider of the drifted resource.

string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for provider.

getResourceName()

public String getResourceName()

Output only. TF resource name.

string resource_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

Output only. TF resource name.

string resource_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resourceName.

getType()

public String getType()

Output only. The type of the drifted resource.

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

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Output only. The type of the drifted resource.

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

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceDriftTerraformInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAddress(String value)

public ResourceDriftTerraformInfo.Builder setAddress(String value)

Output only. The address of the drifted resource.

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

Parameter
Name Description
value String

The address to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public ResourceDriftTerraformInfo.Builder setAddressBytes(ByteString value)

Output only. The address of the drifted resource.

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

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setProvider(String value)

public ResourceDriftTerraformInfo.Builder setProvider(String value)

Output only. The provider of the drifted resource.

string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The provider to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setProviderBytes(ByteString value)

public ResourceDriftTerraformInfo.Builder setProviderBytes(ByteString value)

Output only. The provider of the drifted resource.

string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for provider to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setResourceName(String value)

public ResourceDriftTerraformInfo.Builder setResourceName(String value)

Output only. TF resource name.

string resource_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The resourceName to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setResourceNameBytes(ByteString value)

public ResourceDriftTerraformInfo.Builder setResourceNameBytes(ByteString value)

Output only. TF resource name.

string resource_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for resourceName to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setType(String value)

public ResourceDriftTerraformInfo.Builder setType(String value)

Output only. The type of the drifted resource.

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

Parameter
Name Description
value String

The type to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public ResourceDriftTerraformInfo.Builder setTypeBytes(ByteString value)

Output only. The type of the drifted resource.

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

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
ResourceDriftTerraformInfo.Builder

This builder for chaining.