Class CloudAccountDetails.Builder (0.3.0)

public static final class CloudAccountDetails.Builder extends GeneratedMessageV3.Builder<CloudAccountDetails.Builder> implements CloudAccountDetailsOrBuilder

Details of the OCI Cloud Account.

Protobuf type google.cloud.oracledatabase.v1.CloudAccountDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudAccountDetails build()
Returns
Type Description
CloudAccountDetails

buildPartial()

public CloudAccountDetails buildPartial()
Returns
Type Description
CloudAccountDetails

clear()

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

clearAccountCreationUri()

public CloudAccountDetails.Builder clearAccountCreationUri()

Output only. URL to create a new account and link.

optional string account_creation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

clearCloudAccount()

public CloudAccountDetails.Builder clearCloudAccount()

Output only. OCI account name.

string cloud_account = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

clearCloudAccountHomeRegion()

public CloudAccountDetails.Builder clearCloudAccountHomeRegion()

Output only. OCI account home region.

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

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudAccountDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudAccountDetails.Builder
Overrides

clearLinkExistingAccountUri()

public CloudAccountDetails.Builder clearLinkExistingAccountUri()

Output only. URL to link an existing account.

optional string link_existing_account_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccountCreationUri()

public String getAccountCreationUri()

Output only. URL to create a new account and link.

optional string account_creation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The accountCreationUri.

getAccountCreationUriBytes()

public ByteString getAccountCreationUriBytes()

Output only. URL to create a new account and link.

optional string account_creation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for accountCreationUri.

getCloudAccount()

public String getCloudAccount()

Output only. OCI account name.

string cloud_account = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The cloudAccount.

getCloudAccountBytes()

public ByteString getCloudAccountBytes()

Output only. OCI account name.

string cloud_account = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for cloudAccount.

getCloudAccountHomeRegion()

public String getCloudAccountHomeRegion()

Output only. OCI account home region.

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

Returns
Type Description
String

The cloudAccountHomeRegion.

getCloudAccountHomeRegionBytes()

public ByteString getCloudAccountHomeRegionBytes()

Output only. OCI account home region.

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

Returns
Type Description
ByteString

The bytes for cloudAccountHomeRegion.

getDefaultInstanceForType()

public CloudAccountDetails getDefaultInstanceForType()
Returns
Type Description
CloudAccountDetails

getDescriptorForType()

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

getLinkExistingAccountUri()

public String getLinkExistingAccountUri()

Output only. URL to link an existing account.

optional string link_existing_account_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The linkExistingAccountUri.

getLinkExistingAccountUriBytes()

public ByteString getLinkExistingAccountUriBytes()

Output only. URL to link an existing account.

optional string link_existing_account_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for linkExistingAccountUri.

hasAccountCreationUri()

public boolean hasAccountCreationUri()

Output only. URL to create a new account and link.

optional string account_creation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the accountCreationUri field is set.

hasLinkExistingAccountUri()

public boolean hasLinkExistingAccountUri()

Output only. URL to link an existing account.

optional string link_existing_account_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the linkExistingAccountUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudAccountDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccountCreationUri(String value)

public CloudAccountDetails.Builder setAccountCreationUri(String value)

Output only. URL to create a new account and link.

optional string account_creation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The accountCreationUri to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setAccountCreationUriBytes(ByteString value)

public CloudAccountDetails.Builder setAccountCreationUriBytes(ByteString value)

Output only. URL to create a new account and link.

optional string account_creation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for accountCreationUri to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setCloudAccount(String value)

public CloudAccountDetails.Builder setCloudAccount(String value)

Output only. OCI account name.

string cloud_account = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The cloudAccount to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setCloudAccountBytes(ByteString value)

public CloudAccountDetails.Builder setCloudAccountBytes(ByteString value)

Output only. OCI account name.

string cloud_account = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for cloudAccount to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setCloudAccountHomeRegion(String value)

public CloudAccountDetails.Builder setCloudAccountHomeRegion(String value)

Output only. OCI account home region.

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

Parameter
Name Description
value String

The cloudAccountHomeRegion to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setCloudAccountHomeRegionBytes(ByteString value)

public CloudAccountDetails.Builder setCloudAccountHomeRegionBytes(ByteString value)

Output only. OCI account home region.

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

Parameter
Name Description
value ByteString

The bytes for cloudAccountHomeRegion to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLinkExistingAccountUri(String value)

public CloudAccountDetails.Builder setLinkExistingAccountUri(String value)

Output only. URL to link an existing account.

optional string link_existing_account_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The linkExistingAccountUri to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

setLinkExistingAccountUriBytes(ByteString value)

public CloudAccountDetails.Builder setLinkExistingAccountUriBytes(ByteString value)

Output only. URL to link an existing account.

optional string link_existing_account_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for linkExistingAccountUri to set.

Returns
Type Description
CloudAccountDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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