public static final class ResourceDriftTerraformInfo.Builder extends GeneratedMessageV3.Builder<ResourceDriftTerraformInfo.Builder> implements ResourceDriftTerraformInfoOrBuilder
Terraform info of a ResourceChange.
Protobuf type google.cloud.config.v1.ResourceDriftTerraformInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceDriftTerraformInfo.BuilderImplements
ResourceDriftTerraformInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceDriftTerraformInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public ResourceDriftTerraformInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceDriftTerraformInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
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. |
clone()
public ResourceDriftTerraformInfo.Builder clone()
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourceDriftTerraformInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceDriftTerraformInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceDriftTerraformInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceDriftTerraformInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceDriftTerraformInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceDriftTerraformInfo.Builder |