Class GiVersion.Builder (0.2.0)

public static final class GiVersion.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GiVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GiVersion.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GiVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GiVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GiVersion.Builder
Overrides

clearVersion()

public GiVersion.Builder clearVersion()

Optional. version

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

Returns
Type Description
GiVersion.Builder

This builder for chaining.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GiVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GiVersion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GiVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GiVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GiVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GiVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GiVersion.Builder
Overrides

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.