Package com.google.cloud.config.v1
Class ResourceDrift.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceDrift.Builder>
com.google.cloud.config.v1.ResourceDrift.Builder
- All Implemented Interfaces:
ResourceDriftOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceDrift
public static final class ResourceDrift.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResourceDrift.Builder>
implements ResourceDriftOrBuilder
A resource drift represents a drift to a resource in the state file.Protobuf type
google.cloud.config.v1.ResourceDrift-
Method Summary
Modifier and TypeMethodDescriptionaddAllPropertyDrifts(Iterable<? extends PropertyDrift> values) Output only.addPropertyDrifts(int index, PropertyDrift value) Output only.addPropertyDrifts(int index, PropertyDrift.Builder builderForValue) Output only.addPropertyDrifts(PropertyDrift value) Output only.addPropertyDrifts(PropertyDrift.Builder builderForValue) Output only.Output only.addPropertyDriftsBuilder(int index) Output only.build()clear()Identifier.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.getPropertyDrifts(int index) Output only.getPropertyDriftsBuilder(int index) Output only.Output only.intOutput only.Output only.getPropertyDriftsOrBuilder(int index) Output only.List<? extends PropertyDriftOrBuilder>Output only.Output only.Output only.Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ResourceDrift other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.removePropertyDrifts(int index) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setPropertyDrifts(int index, PropertyDrift value) Output only.setPropertyDrifts(int index, PropertyDrift.Builder builderForValue) Output only.Output only.setTerraformInfo(ResourceDriftTerraformInfo.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceDrift.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceDrift.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceDrift.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceDrift.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceDrift.Builder>
-
mergeFrom
public ResourceDrift.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceDrift.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceResourceDriftOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceResourceDriftOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasTerraformInfoin interfaceResourceDriftOrBuilder- Returns:
- Whether the terraformInfo field is set.
-
getTerraformInfo
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTerraformInfoin interfaceResourceDriftOrBuilder- Returns:
- The terraformInfo.
-
setTerraformInfo
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setTerraformInfo
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeTerraformInfo
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearTerraformInfo
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTerraformInfoBuilder
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTerraformInfoOrBuilder
Output only. Terraform info of the resource drift.
.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTerraformInfoOrBuilderin interfaceResourceDriftOrBuilder
-
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];- Specified by:
getPropertyDriftsListin interfaceResourceDriftOrBuilder
-
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];- Specified by:
getPropertyDriftsCountin interfaceResourceDriftOrBuilder
-
getPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPropertyDriftsin interfaceResourceDriftOrBuilder
-
setPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllPropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
removePropertyDrifts
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPropertyDriftsBuilder
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPropertyDriftsOrBuilder
Output only. The property drifts of the resource drift.
repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPropertyDriftsOrBuilderin interfaceResourceDriftOrBuilder
-
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];- Specified by:
getPropertyDriftsOrBuilderListin interfaceResourceDriftOrBuilder
-
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]; -
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]; -
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];
-