Class GiVersion.Builder (0.32.0)

public static final class GiVersion.Builder extends GeneratedMessage.Builder<GiVersion.Builder> implements GiVersionOrBuilder

Details of the Oracle Grid Infrastructure (GI) version resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiVersionSummary/

Protobuf type google.cloud.oracledatabase.v1.GiVersion

Implements

GiVersionOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public GiVersion build()
Returns
Type Description
GiVersion

buildPartial()

public GiVersion buildPartial()
Returns
Type Description
GiVersion

clear()

public GiVersion.Builder clear()
Returns
Type Description
GiVersion.Builder
Overrides

clearName()

public GiVersion.Builder clearName()

Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
GiVersion.Builder

This builder for chaining.

clearVersion()

public GiVersion.Builder clearVersion()

Optional. version

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

Returns
Type Description
GiVersion.Builder

This builder for chaining.

getDefaultInstanceForType()

public GiVersion getDefaultInstanceForType()
Returns
Type Description
GiVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getVersion()

public String getVersion()

Optional. version

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

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Optional. version

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

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GiVersion other)

public GiVersion.Builder mergeFrom(GiVersion other)
Parameter
Name Description
other GiVersion
Returns
Type Description
GiVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GiVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GiVersion.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GiVersion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GiVersion.Builder
Overrides

setName(String value)

public GiVersion.Builder setName(String value)

Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GiVersion.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GiVersion.Builder setNameBytes(ByteString value)

Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GiVersion.Builder

This builder for chaining.

setVersion(String value)

public GiVersion.Builder setVersion(String value)

Optional. version

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

Parameter
Name Description
value String

The version to set.

Returns
Type Description
GiVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public GiVersion.Builder setVersionBytes(ByteString value)

Optional. version

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

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
GiVersion.Builder

This builder for chaining.