Class ExascaleDbStorageVault.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExascaleDbStorageVault.Builder>
com.google.cloud.oracledatabase.v1.ExascaleDbStorageVault.Builder
- All Implemented Interfaces:
ExascaleDbStorageVaultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExascaleDbStorageVault
public static final class ExascaleDbStorageVault.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExascaleDbStorageVault.Builder>
implements ExascaleDbStorageVaultOrBuilder
ExascaleDbStorageVault represents a storage vault exadb vm cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/ExascaleDbStorageVault/Protobuf type
google.cloud.oracledatabase.v1.ExascaleDbStorageVault-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Required.Output only.Optional.Identifier.Required.booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Required.Required.Required.booleanOutput only.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ExascaleDbStorageVault other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setEntitlementId(String value) Output only.setEntitlementIdBytes(com.google.protobuf.ByteString value) Output only.setGcpOracleZone(String value) Optional.setGcpOracleZoneBytes(com.google.protobuf.ByteString value) Optional.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Required.setProperties(ExascaleDbStorageVaultProperties.Builder builderForValue) Required.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ExascaleDbStorageVault.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ExascaleDbStorageVault.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExascaleDbStorageVault.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<ExascaleDbStorageVault.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<ExascaleDbStorageVault.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<ExascaleDbStorageVault.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExascaleDbStorageVault.Builder>
-
mergeFrom
public ExascaleDbStorageVault.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<ExascaleDbStorageVault.Builder>- Throws:
IOException
-
getName
Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getGcpOracleZone
Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGcpOracleZonein interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The gcpOracleZone.
-
getGcpOracleZoneBytes
public com.google.protobuf.ByteString getGcpOracleZoneBytes()Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGcpOracleZoneBytesin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The bytes for gcpOracleZone.
-
setGcpOracleZone
Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The gcpOracleZone to set.- Returns:
- This builder for chaining.
-
clearGcpOracleZone
Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setGcpOracleZoneBytes
Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for gcpOracleZone to set.- Returns:
- This builder for chaining.
-
hasProperties
public boolean hasProperties()Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasPropertiesin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPropertiesin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The properties.
-
setProperties
Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED]; -
setProperties
public ExascaleDbStorageVault.Builder setProperties(ExascaleDbStorageVaultProperties.Builder builderForValue) Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeProperties
Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearProperties
Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPropertiesBuilder
Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPropertiesOrBuilder
Required. The properties of the ExascaleDbStorageVault.
.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties properties = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPropertiesOrBuilderin interfaceExascaleDbStorageVaultOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceExascaleDbStorageVaultOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ExascaleDbStorageVault.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time when the ExascaleDbStorageVault was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceExascaleDbStorageVaultOrBuilder
-
getEntitlementId
Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntitlementIdin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The entitlementId.
-
getEntitlementIdBytes
public com.google.protobuf.ByteString getEntitlementIdBytes()Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntitlementIdBytesin interfaceExascaleDbStorageVaultOrBuilder- Returns:
- The bytes for entitlementId.
-
setEntitlementId
Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The entitlementId to set.- Returns:
- This builder for chaining.
-
clearEntitlementId
Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEntitlementIdBytes
Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for entitlementId to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ExascaleDbStorageVaultOrBuilderOptional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceExascaleDbStorageVaultOrBuilder
-
containsLabels
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceExascaleDbStorageVaultOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceExascaleDbStorageVaultOrBuilder
-
getLabelsMap
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceExascaleDbStorageVaultOrBuilder
-
getLabelsOrDefault
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceExascaleDbStorageVaultOrBuilder
-
getLabelsOrThrow
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceExascaleDbStorageVaultOrBuilder
-
clearLabels
-
removeLabels
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. The labels or tags associated with the ExascaleDbStorageVault.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
-