Class CloudExadataInfrastructure.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.Builder>
com.google.cloud.oracledatabase.v1.CloudExadataInfrastructure.Builder
- All Implemented Interfaces:
CloudExadataInfrastructureOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CloudExadataInfrastructure
public static final class CloudExadataInfrastructure.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.Builder>
implements CloudExadataInfrastructureOrBuilder
Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/Protobuf type
google.cloud.oracledatabase.v1.CloudExadataInfrastructure-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Output only.Optional.Identifier.Optional.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.DescriptorOptional.com.google.protobuf.ByteStringOptional.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.Optional.Optional.Optional.booleanOutput only.booleanOptional.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(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.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) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.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.Optional.setProperties(CloudExadataInfrastructureProperties.Builder builderForValue) Optional.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<CloudExadataInfrastructure.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.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<CloudExadataInfrastructure.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<CloudExadataInfrastructure.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<CloudExadataInfrastructure.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.Builder>
-
mergeFrom
public CloudExadataInfrastructure.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<CloudExadataInfrastructure.Builder>- Throws:
IOException
-
getName
Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}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 Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Optional. User friendly name for this resource.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. User friendly name for this resource.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. User friendly name for this resource.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. User friendly name for this resource.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. User friendly name for this resource.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getGcpOracleZone
Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGcpOracleZonein interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The gcpOracleZone.
-
getGcpOracleZoneBytes
public com.google.protobuf.ByteString getGcpOracleZoneBytes()Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGcpOracleZoneBytesin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The bytes for gcpOracleZone.
-
setGcpOracleZone
Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The gcpOracleZone to set.- Returns:
- This builder for chaining.
-
clearGcpOracleZone
Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setGcpOracleZoneBytes
public CloudExadataInfrastructure.Builder setGcpOracleZoneBytes(com.google.protobuf.ByteString value) Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for gcpOracleZone to set.- Returns:
- This builder for chaining.
-
getEntitlementId
Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntitlementIdin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The entitlementId.
-
getEntitlementIdBytes
public com.google.protobuf.ByteString getEntitlementIdBytes()Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntitlementIdBytesin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The bytes for entitlementId.
-
setEntitlementId
Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The entitlementId to set.- Returns:
- This builder for chaining.
-
clearEntitlementId
Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEntitlementIdBytes
public CloudExadataInfrastructure.Builder setEntitlementIdBytes(com.google.protobuf.ByteString value) Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for entitlementId to set.- Returns:
- This builder for chaining.
-
hasProperties
public boolean hasProperties()Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPropertiesin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesin interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The properties.
-
setProperties
Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setProperties
public CloudExadataInfrastructure.Builder setProperties(CloudExadataInfrastructureProperties.Builder builderForValue) Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeProperties
public CloudExadataInfrastructure.Builder mergeProperties(CloudExadataInfrastructureProperties value) Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearProperties
Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPropertiesBuilder
Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPropertiesOrBuilder
Optional. Various properties of the infra.
.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrBuilderin interfaceCloudExadataInfrastructureOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:CloudExadataInfrastructureOrBuilderOptional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceCloudExadataInfrastructureOrBuilder
-
containsLabels
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceCloudExadataInfrastructureOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCloudExadataInfrastructureOrBuilder
-
getLabelsMap
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceCloudExadataInfrastructureOrBuilder
-
getLabelsOrDefault
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceCloudExadataInfrastructureOrBuilder
-
getLabelsOrThrow
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceCloudExadataInfrastructureOrBuilder
-
clearLabels
-
removeLabels
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Labels or tags associated with the resource.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
public boolean hasCreateTime()Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCloudExadataInfrastructureOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCloudExadataInfrastructureOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public CloudExadataInfrastructure.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time that the Exadata Infrastructure was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCloudExadataInfrastructureOrBuilder
-