Class MinorVersion.Builder (0.32.0)

public static final class MinorVersion.Builder extends GeneratedMessage.Builder<MinorVersion.Builder> implements MinorVersionOrBuilder

MinorVersion represents a minor version of a GI. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiMinorVersionSummary/

Protobuf type google.cloud.oracledatabase.v1.MinorVersion

Static Methods

getDescriptor()

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

Methods

build()

public MinorVersion build()
Returns
Type Description
MinorVersion

buildPartial()

public MinorVersion buildPartial()
Returns
Type Description
MinorVersion

clear()

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

clearGridImageId()

public MinorVersion.Builder clearGridImageId()

Optional. The ID of the Grid Image.

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

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

clearName()

public MinorVersion.Builder clearName()

Identifier. The name of the MinorVersion resource with the format: projects/{project}/locations/{region}/giVersions/{gi_version}/minorVersions/{minor_version}

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

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

clearVersion()

public MinorVersion.Builder clearVersion()

Optional. The valid Oracle grid infrastructure software version.

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

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

getDefaultInstanceForType()

public MinorVersion getDefaultInstanceForType()
Returns
Type Description
MinorVersion

getDescriptorForType()

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

getGridImageId()

public String getGridImageId()

Optional. The ID of the Grid Image.

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

Returns
Type Description
String

The gridImageId.

getGridImageIdBytes()

public ByteString getGridImageIdBytes()

Optional. The ID of the Grid Image.

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

Returns
Type Description
ByteString

The bytes for gridImageId.

getName()

public String getName()

Identifier. The name of the MinorVersion resource with the format: projects/{project}/locations/{region}/giVersions/{gi_version}/minorVersions/{minor_version}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the MinorVersion resource with the format: projects/{project}/locations/{region}/giVersions/{gi_version}/minorVersions/{minor_version}

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

Returns
Type Description
ByteString

The bytes for name.

getVersion()

public String getVersion()

Optional. The valid Oracle grid infrastructure software version.

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

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Optional. The valid Oracle grid infrastructure software version.

string version = 3 [(.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(MinorVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGridImageId(String value)

public MinorVersion.Builder setGridImageId(String value)

Optional. The ID of the Grid Image.

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

Parameter
Name Description
value String

The gridImageId to set.

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

setGridImageIdBytes(ByteString value)

public MinorVersion.Builder setGridImageIdBytes(ByteString value)

Optional. The ID of the Grid Image.

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

Parameter
Name Description
value ByteString

The bytes for gridImageId to set.

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

setName(String value)

public MinorVersion.Builder setName(String value)

Identifier. The name of the MinorVersion resource with the format: projects/{project}/locations/{region}/giVersions/{gi_version}/minorVersions/{minor_version}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MinorVersion.Builder setNameBytes(ByteString value)

Identifier. The name of the MinorVersion resource with the format: projects/{project}/locations/{region}/giVersions/{gi_version}/minorVersions/{minor_version}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

setVersion(String value)

public MinorVersion.Builder setVersion(String value)

Optional. The valid Oracle grid infrastructure software version.

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

Parameter
Name Description
value String

The version to set.

Returns
Type Description
MinorVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public MinorVersion.Builder setVersionBytes(ByteString value)

Optional. The valid Oracle grid infrastructure software version.

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

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
MinorVersion.Builder

This builder for chaining.