- 0.62.0 (latest)
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.1.0
public static final class ResourceDrift.Builder extends GeneratedMessage.Builder<ResourceDrift.Builder> implements ResourceDriftOrBuilderA resource drift represents a drift to a resource in the state file.
Protobuf type google.cloud.config.v1.ResourceDrift
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResourceDrift.BuilderImplements
ResourceDriftOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPropertyDrifts(Iterable<? extends PropertyDrift> values)
public ResourceDrift.Builder addAllPropertyDrifts(Iterable<? extends PropertyDrift> values)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.config.v1.PropertyDrift> |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
addPropertyDrifts(PropertyDrift value)
public ResourceDrift.Builder addPropertyDrifts(PropertyDrift value)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyDrift |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
addPropertyDrifts(PropertyDrift.Builder builderForValue)
public ResourceDrift.Builder addPropertyDrifts(PropertyDrift.Builder builderForValue)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PropertyDrift.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
addPropertyDrifts(int index, PropertyDrift value)
public ResourceDrift.Builder addPropertyDrifts(int index, PropertyDrift value)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PropertyDrift |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
addPropertyDrifts(int index, PropertyDrift.Builder builderForValue)
public ResourceDrift.Builder addPropertyDrifts(int index, PropertyDrift.Builder builderForValue)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PropertyDrift.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
addPropertyDriftsBuilder()
public PropertyDrift.Builder addPropertyDriftsBuilder()Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PropertyDrift.Builder |
|
addPropertyDriftsBuilder(int index)
public PropertyDrift.Builder addPropertyDriftsBuilder(int index)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PropertyDrift.Builder |
|
build()
public ResourceDrift build()| Returns | |
|---|---|
| Type | Description |
ResourceDrift |
|
buildPartial()
public ResourceDrift buildPartial()| Returns | |
|---|---|
| Type | Description |
ResourceDrift |
|
clear()
public ResourceDrift.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
clearName()
public ResourceDrift.Builder clearName()Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
This builder for chaining. |
clearPropertyDrifts()
public ResourceDrift.Builder clearPropertyDrifts()Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
clearTerraformInfo()
public ResourceDrift.Builder clearTerraformInfo()Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
getDefaultInstanceForType()
public ResourceDrift getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceDrift |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPropertyDrifts(int index)
public PropertyDrift getPropertyDrifts(int index)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PropertyDrift |
|
getPropertyDriftsBuilder(int index)
public PropertyDrift.Builder getPropertyDriftsBuilder(int index)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PropertyDrift.Builder |
|
getPropertyDriftsBuilderList()
public List<PropertyDrift.Builder> getPropertyDriftsBuilderList()Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPropertyDriftsCount()
public int getPropertyDriftsCount()Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPropertyDriftsList()
public List<PropertyDrift> getPropertyDriftsList()Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<PropertyDrift> |
|
getPropertyDriftsOrBuilder(int index)
public PropertyDriftOrBuilder getPropertyDriftsOrBuilder(int index)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PropertyDriftOrBuilder |
|
getPropertyDriftsOrBuilderList()
public List<? extends PropertyDriftOrBuilder> getPropertyDriftsOrBuilderList()Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.config.v1.PropertyDriftOrBuilder> |
|
getTerraformInfo()
public ResourceDriftTerraformInfo getTerraformInfo()Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceDriftTerraformInfo |
The terraformInfo. |
getTerraformInfoBuilder()
public ResourceDriftTerraformInfo.Builder getTerraformInfoBuilder()Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceDriftTerraformInfo.Builder |
|
getTerraformInfoOrBuilder()
public ResourceDriftTerraformInfoOrBuilder getTerraformInfoOrBuilder()Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceDriftTerraformInfoOrBuilder |
|
hasTerraformInfo()
public boolean hasTerraformInfo()Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the terraformInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ResourceDrift other)
public ResourceDrift.Builder mergeFrom(ResourceDrift other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceDrift |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceDrift.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceDrift.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
mergeTerraformInfo(ResourceDriftTerraformInfo value)
public ResourceDrift.Builder mergeTerraformInfo(ResourceDriftTerraformInfo value)Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceDriftTerraformInfo |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
removePropertyDrifts(int index)
public ResourceDrift.Builder removePropertyDrifts(int index)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
setName(String value)
public ResourceDrift.Builder setName(String value)Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ResourceDrift.Builder setNameBytes(ByteString value)Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
This builder for chaining. |
setPropertyDrifts(int index, PropertyDrift value)
public ResourceDrift.Builder setPropertyDrifts(int index, PropertyDrift value)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PropertyDrift |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
setPropertyDrifts(int index, PropertyDrift.Builder builderForValue)
public ResourceDrift.Builder setPropertyDrifts(int index, PropertyDrift.Builder builderForValue)Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PropertyDrift.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
setTerraformInfo(ResourceDriftTerraformInfo value)
public ResourceDrift.Builder setTerraformInfo(ResourceDriftTerraformInfo value)Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceDriftTerraformInfo |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|
setTerraformInfo(ResourceDriftTerraformInfo.Builder builderForValue)
public ResourceDrift.Builder setTerraformInfo(ResourceDriftTerraformInfo.Builder builderForValue)Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ResourceDriftTerraformInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceDrift.Builder |
|