Class ApiAuth (3.56.0)

public final class ApiAuth extends GeneratedMessageV3 implements ApiAuthOrBuilder

The generic reusable api auth config.

Protobuf type google.cloud.aiplatform.v1beta1.ApiAuth

Implements

ApiAuthOrBuilder

Static Fields

API_KEY_CONFIG_FIELD_NUMBER

public static final int API_KEY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApiAuth getDefaultInstance()
Returns
Type Description
ApiAuth

getDescriptor()

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

newBuilder()

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

newBuilder(ApiAuth prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiKeyConfig()

public ApiAuth.ApiKeyConfig getApiKeyConfig()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
ApiAuth.ApiKeyConfig

The apiKeyConfig.

getApiKeyConfigOrBuilder()

public ApiAuth.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
ApiAuth.ApiKeyConfigOrBuilder

getAuthConfigCase()

public ApiAuth.AuthConfigCase getAuthConfigCase()
Returns
Type Description
ApiAuth.AuthConfigCase

getDefaultInstanceForType()

public ApiAuth getDefaultInstanceForType()
Returns
Type Description
ApiAuth

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasApiKeyConfig()

public boolean hasApiKeyConfig()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
boolean

Whether the apiKeyConfig 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 ApiAuth.Builder newBuilderForType()
Returns
Type Description
ApiAuth.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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