Class AutonomousDbVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutonomousDbVersion.Builder>
com.google.cloud.oracledatabase.v1.AutonomousDbVersion.Builder
- All Implemented Interfaces:
AutonomousDbVersionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutonomousDbVersion
public static final class AutonomousDbVersion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDbVersion.Builder>
implements AutonomousDbVersionOrBuilder
Details of the Autonomous Database version. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/Protobuf type
google.cloud.oracledatabase.v1.AutonomousDbVersion-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Identifier.Output only.Output only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AutonomousDbVersion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDbWorkload(DBWorkload value) Output only.setDbWorkloadValue(int value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setVersion(String value) Output only.setVersionBytes(com.google.protobuf.ByteString value) Output only.setWorkloadUri(String value) Output only.setWorkloadUriBytes(com.google.protobuf.ByteString value) 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<AutonomousDbVersion.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<AutonomousDbVersion.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<AutonomousDbVersion.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<AutonomousDbVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDbVersion.Builder>
-
mergeFrom
public AutonomousDbVersion.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<AutonomousDbVersion.Builder>- Throws:
IOException
-
getName
Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceAutonomousDbVersionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceAutonomousDbVersionOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}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 Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersion
Output only. An Oracle Database version for Autonomous Database.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionin interfaceAutonomousDbVersionOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Output only. An Oracle Database version for Autonomous Database.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionBytesin interfaceAutonomousDbVersionOrBuilder- Returns:
- The bytes for version.
-
setVersion
Output only. An Oracle Database version for Autonomous Database.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Output only. An Oracle Database version for Autonomous Database.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setVersionBytes
Output only. An Oracle Database version for Autonomous Database.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getDbWorkloadValue
public int getDbWorkloadValue()Output only. The Autonomous Database workload type.
.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDbWorkloadValuein interfaceAutonomousDbVersionOrBuilder- Returns:
- The enum numeric value on the wire for dbWorkload.
-
setDbWorkloadValue
Output only. The Autonomous Database workload type.
.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for dbWorkload to set.- Returns:
- This builder for chaining.
-
getDbWorkload
Output only. The Autonomous Database workload type.
.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDbWorkloadin interfaceAutonomousDbVersionOrBuilder- Returns:
- The dbWorkload.
-
setDbWorkload
Output only. The Autonomous Database workload type.
.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The dbWorkload to set.- Returns:
- This builder for chaining.
-
clearDbWorkload
Output only. The Autonomous Database workload type.
.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getWorkloadUri
Output only. A URL that points to a detailed description of the Autonomous Database version.
string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWorkloadUriin interfaceAutonomousDbVersionOrBuilder- Returns:
- The workloadUri.
-
getWorkloadUriBytes
public com.google.protobuf.ByteString getWorkloadUriBytes()Output only. A URL that points to a detailed description of the Autonomous Database version.
string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWorkloadUriBytesin interfaceAutonomousDbVersionOrBuilder- Returns:
- The bytes for workloadUri.
-
setWorkloadUri
Output only. A URL that points to a detailed description of the Autonomous Database version.
string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The workloadUri to set.- Returns:
- This builder for chaining.
-
clearWorkloadUri
Output only. A URL that points to a detailed description of the Autonomous Database version.
string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setWorkloadUriBytes
Output only. A URL that points to a detailed description of the Autonomous Database version.
string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for workloadUri to set.- Returns:
- This builder for chaining.
-