public static final class ResourceChangeTerraformInfo.Builder extends GeneratedMessageV3.Builder<ResourceChangeTerraformInfo.Builder> implements ResourceChangeTerraformInfoOrBuilder
Terraform info of a ResourceChange.
Protobuf type google.cloud.config.v1.ResourceChangeTerraformInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceChangeTerraformInfo.BuilderImplements
ResourceChangeTerraformInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addActions(String value)
public ResourceChangeTerraformInfo.Builder addActions(String value)
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The actions to add. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
addActionsBytes(ByteString value)
public ResourceChangeTerraformInfo.Builder addActionsBytes(ByteString value)
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the actions to add. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
addAllActions(Iterable<String> values)
public ResourceChangeTerraformInfo.Builder addAllActions(Iterable<String> values)
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The actions to add. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceChangeTerraformInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
build()
public ResourceChangeTerraformInfo build()
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo |
buildPartial()
public ResourceChangeTerraformInfo buildPartial()
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo |
clear()
public ResourceChangeTerraformInfo.Builder clear()
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
clearActions()
public ResourceChangeTerraformInfo.Builder clearActions()
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
clearAddress()
public ResourceChangeTerraformInfo.Builder clearAddress()
Output only. TF resource address that uniquely identifies the resource.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourceChangeTerraformInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceChangeTerraformInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
clearProvider()
public ResourceChangeTerraformInfo.Builder clearProvider()
Output only. TF resource provider.
string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
clearResourceName()
public ResourceChangeTerraformInfo.Builder clearResourceName()
Output only. TF resource name.
string resource_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
clearType()
public ResourceChangeTerraformInfo.Builder clearType()
Output only. TF resource type.
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
clone()
public ResourceChangeTerraformInfo.Builder clone()
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
getActions(int index)
public String getActions(int index)
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The actions at the given index. |
getActionsBytes(int index)
public ByteString getActionsBytes(int index)
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the actions at the given index. |
getActionsCount()
public int getActionsCount()
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of actions. |
getActionsList()
public ProtocolStringList getActionsList()
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the actions. |
getAddress()
public String getAddress()
Output only. TF resource address that uniquely identifies the resource.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The address. |
getAddressBytes()
public ByteString getAddressBytes()
Output only. TF resource address that uniquely identifies the resource.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for address. |
getDefaultInstanceForType()
public ResourceChangeTerraformInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getProvider()
public String getProvider()
Output only. TF resource provider.
string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The provider. |
getProviderBytes()
public ByteString getProviderBytes()
Output only. TF resource provider.
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. TF resource type.
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()
Output only. TF resource type.
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(ResourceChangeTerraformInfo other)
public ResourceChangeTerraformInfo.Builder mergeFrom(ResourceChangeTerraformInfo other)
Parameter | |
---|---|
Name | Description |
other |
ResourceChangeTerraformInfo |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceChangeTerraformInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourceChangeTerraformInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceChangeTerraformInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
setActions(int index, String value)
public ResourceChangeTerraformInfo.Builder setActions(int index, String value)
Output only. TF resource actions.
repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The actions to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setAddress(String value)
public ResourceChangeTerraformInfo.Builder setAddress(String value)
Output only. TF resource address that uniquely identifies the resource.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The address to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setAddressBytes(ByteString value)
public ResourceChangeTerraformInfo.Builder setAddressBytes(ByteString value)
Output only. TF resource address that uniquely identifies the resource.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for address to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceChangeTerraformInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
setProvider(String value)
public ResourceChangeTerraformInfo.Builder setProvider(String value)
Output only. TF resource provider.
string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The provider to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setProviderBytes(ByteString value)
public ResourceChangeTerraformInfo.Builder setProviderBytes(ByteString value)
Output only. TF resource provider.
string provider = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for provider to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceChangeTerraformInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
setResourceName(String value)
public ResourceChangeTerraformInfo.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 |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setResourceNameBytes(ByteString value)
public ResourceChangeTerraformInfo.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 |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setType(String value)
public ResourceChangeTerraformInfo.Builder setType(String value)
Output only. TF resource type.
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public ResourceChangeTerraformInfo.Builder setTypeBytes(ByteString value)
Output only. TF resource type.
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceChangeTerraformInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceChangeTerraformInfo.Builder |