Class PolarisIcebergCatalog.Builder (0.42.0)

public static final class PolarisIcebergCatalog.Builder extends GeneratedMessage.Builder<PolarisIcebergCatalog.Builder> implements PolarisIcebergCatalogOrBuilder

The Polaris Iceberg catalog.

Protobuf type google.cloud.oracledatabase.v1.PolarisIcebergCatalog

Static Methods

getDescriptor()

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

Methods

build()

public PolarisIcebergCatalog build()
Returns
Type Description
PolarisIcebergCatalog

buildPartial()

public PolarisIcebergCatalog buildPartial()
Returns
Type Description
PolarisIcebergCatalog

clear()

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

clearClientId()

public PolarisIcebergCatalog.Builder clearClientId()

Required. The Polaris client ID.

string client_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

clearClientSecret()

public PolarisIcebergCatalog.Builder clearClientSecret()

Optional. The Polaris client secret.

string client_secret = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

clearPolarisCatalog()

public PolarisIcebergCatalog.Builder clearPolarisCatalog()

Required. The catalog name within Polaris.

string polaris_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

clearPrincipalRole()

public PolarisIcebergCatalog.Builder clearPrincipalRole()

Required. The Polaris principal role.

string principal_role = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

clearUri()

public PolarisIcebergCatalog.Builder clearUri()

Required. The Polaris uri.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

getClientId()

public String getClientId()

Required. The Polaris client ID.

string client_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clientId.

getClientIdBytes()

public ByteString getClientIdBytes()

Required. The Polaris client ID.

string client_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clientId.

getClientSecret()

public String getClientSecret()

Optional. The Polaris client secret.

string client_secret = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The clientSecret.

getClientSecretBytes()

public ByteString getClientSecretBytes()

Optional. The Polaris client secret.

string client_secret = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for clientSecret.

getDefaultInstanceForType()

public PolarisIcebergCatalog getDefaultInstanceForType()
Returns
Type Description
PolarisIcebergCatalog

getDescriptorForType()

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

getPolarisCatalog()

public String getPolarisCatalog()

Required. The catalog name within Polaris.

string polaris_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The polarisCatalog.

getPolarisCatalogBytes()

public ByteString getPolarisCatalogBytes()

Required. The catalog name within Polaris.

string polaris_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for polarisCatalog.

getPrincipalRole()

public String getPrincipalRole()

Required. The Polaris principal role.

string principal_role = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The principalRole.

getPrincipalRoleBytes()

public ByteString getPrincipalRoleBytes()

Required. The Polaris principal role.

string principal_role = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for principalRole.

getUri()

public String getUri()

Required. The Polaris uri.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. The Polaris uri.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PolarisIcebergCatalog other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setClientId(String value)

public PolarisIcebergCatalog.Builder setClientId(String value)

Required. The Polaris client ID.

string client_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The clientId to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setClientIdBytes(ByteString value)

public PolarisIcebergCatalog.Builder setClientIdBytes(ByteString value)

Required. The Polaris client ID.

string client_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for clientId to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setClientSecret(String value)

public PolarisIcebergCatalog.Builder setClientSecret(String value)

Optional. The Polaris client secret.

string client_secret = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The clientSecret to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setClientSecretBytes(ByteString value)

public PolarisIcebergCatalog.Builder setClientSecretBytes(ByteString value)

Optional. The Polaris client secret.

string client_secret = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for clientSecret to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setPolarisCatalog(String value)

public PolarisIcebergCatalog.Builder setPolarisCatalog(String value)

Required. The catalog name within Polaris.

string polaris_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The polarisCatalog to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setPolarisCatalogBytes(ByteString value)

public PolarisIcebergCatalog.Builder setPolarisCatalogBytes(ByteString value)

Required. The catalog name within Polaris.

string polaris_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for polarisCatalog to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setPrincipalRole(String value)

public PolarisIcebergCatalog.Builder setPrincipalRole(String value)

Required. The Polaris principal role.

string principal_role = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The principalRole to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setPrincipalRoleBytes(ByteString value)

public PolarisIcebergCatalog.Builder setPrincipalRoleBytes(ByteString value)

Required. The Polaris principal role.

string principal_role = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for principalRole to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setUri(String value)

public PolarisIcebergCatalog.Builder setUri(String value)

Required. The Polaris uri.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.

setUriBytes(ByteString value)

public PolarisIcebergCatalog.Builder setUriBytes(ByteString value)

Required. The Polaris uri.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
PolarisIcebergCatalog.Builder

This builder for chaining.