Class Entitlement.Builder (0.1.0)

public static final class Entitlement.Builder extends GeneratedMessageV3.Builder<Entitlement.Builder> implements EntitlementOrBuilder

Details of the Entitlement resource.

Protobuf type google.cloud.oracledatabase.v1.Entitlement

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Entitlement build()
Returns
Type Description
Entitlement

buildPartial()

public Entitlement buildPartial()
Returns
Type Description
Entitlement

clear()

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

clearCloudAccountDetails()

public Entitlement.Builder clearCloudAccountDetails()

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Returns
Type Description
Entitlement.Builder

clearEntitlementId()

public Entitlement.Builder clearEntitlementId()

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

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

Returns
Type Description
Entitlement.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Entitlement.Builder clearName()

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

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

Returns
Type Description
Entitlement.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public Entitlement.Builder clearState()

Output only. Entitlement State.

.google.cloud.oracledatabase.v1.Entitlement.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Entitlement.Builder

This builder for chaining.

clone()

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

getCloudAccountDetails()

public CloudAccountDetails getCloudAccountDetails()

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Returns
Type Description
CloudAccountDetails

The cloudAccountDetails.

getCloudAccountDetailsBuilder()

public CloudAccountDetails.Builder getCloudAccountDetailsBuilder()

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Returns
Type Description
CloudAccountDetails.Builder

getCloudAccountDetailsOrBuilder()

public CloudAccountDetailsOrBuilder getCloudAccountDetailsOrBuilder()

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Returns
Type Description
CloudAccountDetailsOrBuilder

getDefaultInstanceForType()

public Entitlement getDefaultInstanceForType()
Returns
Type Description
Entitlement

getDescriptorForType()

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

getEntitlementId()

public String getEntitlementId()

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

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

Returns
Type Description
String

The entitlementId.

getEntitlementIdBytes()

public ByteString getEntitlementIdBytes()

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

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

Returns
Type Description
ByteString

The bytes for entitlementId.

getName()

public String getName()

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public Entitlement.State getState()

Output only. Entitlement State.

.google.cloud.oracledatabase.v1.Entitlement.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Entitlement.State

The state.

getStateValue()

public int getStateValue()

Output only. Entitlement State.

.google.cloud.oracledatabase.v1.Entitlement.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCloudAccountDetails()

public boolean hasCloudAccountDetails()

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Returns
Type Description
boolean

Whether the cloudAccountDetails field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudAccountDetails(CloudAccountDetails value)

public Entitlement.Builder mergeCloudAccountDetails(CloudAccountDetails value)

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Parameter
Name Description
value CloudAccountDetails
Returns
Type Description
Entitlement.Builder

mergeFrom(Entitlement other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudAccountDetails(CloudAccountDetails value)

public Entitlement.Builder setCloudAccountDetails(CloudAccountDetails value)

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Parameter
Name Description
value CloudAccountDetails
Returns
Type Description
Entitlement.Builder

setCloudAccountDetails(CloudAccountDetails.Builder builderForValue)

public Entitlement.Builder setCloudAccountDetails(CloudAccountDetails.Builder builderForValue)

Details of the OCI Cloud Account.

.google.cloud.oracledatabase.v1.CloudAccountDetails cloud_account_details = 2;

Parameter
Name Description
builderForValue CloudAccountDetails.Builder
Returns
Type Description
Entitlement.Builder

setEntitlementId(String value)

public Entitlement.Builder setEntitlementId(String value)

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

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

Parameter
Name Description
value String

The entitlementId to set.

Returns
Type Description
Entitlement.Builder

This builder for chaining.

setEntitlementIdBytes(ByteString value)

public Entitlement.Builder setEntitlementIdBytes(ByteString value)

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

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

Parameter
Name Description
value ByteString

The bytes for entitlementId to set.

Returns
Type Description
Entitlement.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Entitlement.Builder setName(String value)

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Entitlement.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Entitlement.Builder setNameBytes(ByteString value)

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Entitlement.Builder

This builder for chaining.

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

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

setState(Entitlement.State value)

public Entitlement.Builder setState(Entitlement.State value)

Output only. Entitlement State.

.google.cloud.oracledatabase.v1.Entitlement.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Entitlement.State

The state to set.

Returns
Type Description
Entitlement.Builder

This builder for chaining.

setStateValue(int value)

public Entitlement.Builder setStateValue(int value)

Output only. Entitlement State.

.google.cloud.oracledatabase.v1.Entitlement.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Entitlement.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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