public final class ApiAuthentication extends GeneratedMessage implements ApiAuthenticationOrBuilder
Authentication information required for API calls.
Protobuf type google.cloud.ces.v1.ApiAuthentication
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
API_KEY_CONFIG_FIELD_NUMBER
public static final int API_KEY_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
BEARER_TOKEN_CONFIG_FIELD_NUMBER
public static final int BEARER_TOKEN_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OAUTH_CONFIG_FIELD_NUMBER
public static final int OAUTH_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERVICE_ACCOUNT_AUTH_CONFIG_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_AUTH_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERVICE_AGENT_ID_TOKEN_AUTH_CONFIG_FIELD_NUMBER
public static final int SERVICE_AGENT_ID_TOKEN_AUTH_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ApiAuthentication getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ApiAuthentication.Builder newBuilder()
newBuilder(ApiAuthentication prototype)
public static ApiAuthentication.Builder newBuilder(ApiAuthentication prototype)
public static ApiAuthentication parseDelimitedFrom(InputStream input)
public static ApiAuthentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ApiAuthentication parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ApiAuthentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ApiAuthentication parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ApiAuthentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ApiAuthentication parseFrom(CodedInputStream input)
public static ApiAuthentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ApiAuthentication parseFrom(InputStream input)
public static ApiAuthentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ApiAuthentication parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ApiAuthentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ApiAuthentication> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getApiKeyConfig()
public ApiKeyConfig getApiKeyConfig()
Optional. Config for API key auth.
.google.cloud.ces.v1.ApiKeyConfig api_key_config = 1 [(.google.api.field_behavior) = OPTIONAL];
getApiKeyConfigOrBuilder()
public ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
Optional. Config for API key auth.
.google.cloud.ces.v1.ApiKeyConfig api_key_config = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthConfigCase()
public ApiAuthentication.AuthConfigCase getAuthConfigCase()
getBearerTokenConfig()
public BearerTokenConfig getBearerTokenConfig()
Optional. Config for bearer token auth.
.google.cloud.ces.v1.BearerTokenConfig bearer_token_config = 5 [(.google.api.field_behavior) = OPTIONAL];
getBearerTokenConfigOrBuilder()
public BearerTokenConfigOrBuilder getBearerTokenConfigOrBuilder()
Optional. Config for bearer token auth.
.google.cloud.ces.v1.BearerTokenConfig bearer_token_config = 5 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ApiAuthentication getDefaultInstanceForType()
getOauthConfig()
public OAuthConfig getOauthConfig()
Optional. Config for OAuth.
.google.cloud.ces.v1.OAuthConfig oauth_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getOauthConfigOrBuilder()
public OAuthConfigOrBuilder getOauthConfigOrBuilder()
Optional. Config for OAuth.
.google.cloud.ces.v1.OAuthConfig oauth_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<ApiAuthentication> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getServiceAccountAuthConfig()
public ServiceAccountAuthConfig getServiceAccountAuthConfig()
Optional. Config for service account authentication.
.google.cloud.ces.v1.ServiceAccountAuthConfig service_account_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccountAuthConfigOrBuilder()
public ServiceAccountAuthConfigOrBuilder getServiceAccountAuthConfigOrBuilder()
Optional. Config for service account authentication.
.google.cloud.ces.v1.ServiceAccountAuthConfig service_account_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getServiceAgentIdTokenAuthConfig()
public ServiceAgentIdTokenAuthConfig getServiceAgentIdTokenAuthConfig()
Optional. Config for ID token auth generated from CES service agent.
.google.cloud.ces.v1.ServiceAgentIdTokenAuthConfig service_agent_id_token_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getServiceAgentIdTokenAuthConfigOrBuilder()
public ServiceAgentIdTokenAuthConfigOrBuilder getServiceAgentIdTokenAuthConfigOrBuilder()
Optional. Config for ID token auth generated from CES service agent.
.google.cloud.ces.v1.ServiceAgentIdTokenAuthConfig service_agent_id_token_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];
hasApiKeyConfig()
public boolean hasApiKeyConfig()
Optional. Config for API key auth.
.google.cloud.ces.v1.ApiKeyConfig api_key_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the apiKeyConfig field is set.
|
hasBearerTokenConfig()
public boolean hasBearerTokenConfig()
Optional. Config for bearer token auth.
.google.cloud.ces.v1.BearerTokenConfig bearer_token_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the bearerTokenConfig field is set.
|
hasOauthConfig()
public boolean hasOauthConfig()
Optional. Config for OAuth.
.google.cloud.ces.v1.OAuthConfig oauth_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the oauthConfig field is set.
|
hasServiceAccountAuthConfig()
public boolean hasServiceAccountAuthConfig()
Optional. Config for service account authentication.
.google.cloud.ces.v1.ServiceAccountAuthConfig service_account_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the serviceAccountAuthConfig field is set.
|
hasServiceAgentIdTokenAuthConfig()
public boolean hasServiceAgentIdTokenAuthConfig()
Optional. Config for ID token auth generated from CES service agent.
.google.cloud.ces.v1.ServiceAgentIdTokenAuthConfig service_agent_id_token_auth_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the serviceAgentIdTokenAuthConfig field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ApiAuthentication.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ApiAuthentication.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ApiAuthentication.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides