Class PredictionApiKeyRegistration (0.14.0)

public final class PredictionApiKeyRegistration extends GeneratedMessageV3 implements PredictionApiKeyRegistrationOrBuilder

Registered Api Key.

Protobuf type google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration

Static Fields

API_KEY_FIELD_NUMBER

public static final int API_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PredictionApiKeyRegistration getDefaultInstance()
Returns
TypeDescription
PredictionApiKeyRegistration

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PredictionApiKeyRegistration.Builder newBuilder()
Returns
TypeDescription
PredictionApiKeyRegistration.Builder

newBuilder(PredictionApiKeyRegistration prototype)

public static PredictionApiKeyRegistration.Builder newBuilder(PredictionApiKeyRegistration prototype)
Parameter
NameDescription
prototypePredictionApiKeyRegistration
Returns
TypeDescription
PredictionApiKeyRegistration.Builder

parseDelimitedFrom(InputStream input)

public static PredictionApiKeyRegistration parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PredictionApiKeyRegistration parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PredictionApiKeyRegistration parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PredictionApiKeyRegistration parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PredictionApiKeyRegistration parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PredictionApiKeyRegistration parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PredictionApiKeyRegistration parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PredictionApiKeyRegistration parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PredictionApiKeyRegistration parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PredictionApiKeyRegistration parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PredictionApiKeyRegistration parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PredictionApiKeyRegistration parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictionApiKeyRegistration
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PredictionApiKeyRegistration> parser()
Returns
TypeDescription
Parser<PredictionApiKeyRegistration>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApiKey()

public String getApiKey()

The API key.

string api_key = 1;

Returns
TypeDescription
String

The apiKey.

getApiKeyBytes()

public ByteString getApiKeyBytes()

The API key.

string api_key = 1;

Returns
TypeDescription
ByteString

The bytes for apiKey.

getDefaultInstanceForType()

public PredictionApiKeyRegistration getDefaultInstanceForType()
Returns
TypeDescription
PredictionApiKeyRegistration

getParserForType()

public Parser<PredictionApiKeyRegistration> getParserForType()
Returns
TypeDescription
Parser<PredictionApiKeyRegistration>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PredictionApiKeyRegistration.Builder newBuilderForType()
Returns
TypeDescription
PredictionApiKeyRegistration.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PredictionApiKeyRegistration.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PredictionApiKeyRegistration.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PredictionApiKeyRegistration.Builder toBuilder()
Returns
TypeDescription
PredictionApiKeyRegistration.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException