Class Entitlement (0.1.0)

public final class Entitlement extends GeneratedMessageV3 implements EntitlementOrBuilder

Details of the Entitlement resource.

Protobuf type google.cloud.oracledatabase.v1.Entitlement

Static Fields

CLOUD_ACCOUNT_DETAILS_FIELD_NUMBER

public static final int CLOUD_ACCOUNT_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

ENTITLEMENT_ID_FIELD_NUMBER

public static final int ENTITLEMENT_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Entitlement getDefaultInstance()
Returns
Type Description
Entitlement

getDescriptor()

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

newBuilder()

public static Entitlement.Builder newBuilder()
Returns
Type Description
Entitlement.Builder

newBuilder(Entitlement prototype)

public static Entitlement.Builder newBuilder(Entitlement prototype)
Parameter
Name Description
prototype Entitlement
Returns
Type Description
Entitlement.Builder

parseDelimitedFrom(InputStream input)

public static Entitlement parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Entitlement
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entitlement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Entitlement parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Entitlement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Entitlement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Entitlement parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Entitlement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Entitlement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Entitlement parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Entitlement
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Entitlement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Entitlement parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Entitlement
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entitlement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Entitlement parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Entitlement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Entitlement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Entitlement> parser()
Returns
Type Description
Parser<Entitlement>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

getParserForType()

public Parser<Entitlement> getParserForType()
Returns
Type Description
Parser<Entitlement>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Entitlement.Builder newBuilderForType()
Returns
Type Description
Entitlement.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Entitlement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Entitlement.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Entitlement.Builder toBuilder()
Returns
Type Description
Entitlement.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException