Class AutonomousDbVersion (0.4.0)

public final class AutonomousDbVersion extends GeneratedMessageV3 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

Static Fields

DB_WORKLOAD_FIELD_NUMBER

public static final int DB_WORKLOAD_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

WORKLOAD_URI_FIELD_NUMBER

public static final int WORKLOAD_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutonomousDbVersion getDefaultInstance()
Returns
Type Description
AutonomousDbVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AutonomousDbVersion.Builder newBuilder()
Returns
Type Description
AutonomousDbVersion.Builder

newBuilder(AutonomousDbVersion prototype)

public static AutonomousDbVersion.Builder newBuilder(AutonomousDbVersion prototype)
Parameter
Name Description
prototype AutonomousDbVersion
Returns
Type Description
AutonomousDbVersion.Builder

parseDelimitedFrom(InputStream input)

public static AutonomousDbVersion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutonomousDbVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutonomousDbVersion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutonomousDbVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutonomousDbVersion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutonomousDbVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutonomousDbVersion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutonomousDbVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutonomousDbVersion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutonomousDbVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutonomousDbVersion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutonomousDbVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDbVersion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutonomousDbVersion> parser()
Returns
Type Description
Parser<AutonomousDbVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDbWorkload()

public DBWorkload getDbWorkload()

Output only. The Autonomous Database workload type.

.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DBWorkload

The dbWorkload.

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];

Returns
Type Description
int

The enum numeric value on the wire for dbWorkload.

getDefaultInstanceForType()

public AutonomousDbVersion getDefaultInstanceForType()
Returns
Type Description
AutonomousDbVersion

getName()

public String 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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<AutonomousDbVersion> getParserForType()
Returns
Type Description
Parser<AutonomousDbVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

Output only. An Oracle Database version for Autonomous Database.

string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Output only. An Oracle Database version for Autonomous Database.

string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for version.

getWorkloadUri()

public String 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];

Returns
Type Description
String

The workloadUri.

getWorkloadUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for workloadUri.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutonomousDbVersion.Builder newBuilderForType()
Returns
Type Description
AutonomousDbVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutonomousDbVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutonomousDbVersion.Builder toBuilder()
Returns
Type Description
AutonomousDbVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException