Class ApiKeyParams.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ApiKeyParams.Builder extends GeneratedMessage.Builder<ApiKeyParams.Builder> implements ApiKeyParamsOrBuilder
Message describing ApiKeyParams object.
Protobuf type google.cloud.agentidentity.v1.ApiKeyParams
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ApiKeyParams build()
buildPartial()
public ApiKeyParams buildPartial()
clear()
public ApiKeyParams.Builder clear()
Overrides
clearApiKey()
public ApiKeyParams.Builder clearApiKey()
Optional. Input only. The API key for this auth_provider.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
getApiKey()
public String getApiKey()
Optional. Input only. The API key for this auth_provider.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns |
| Type |
Description |
String |
The apiKey.
|
getApiKeyBytes()
public ByteString getApiKeyBytes()
Optional. Input only. The API key for this auth_provider.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for apiKey.
|
getDefaultInstanceForType()
public ApiKeyParams getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ApiKeyParams other)
public ApiKeyParams.Builder mergeFrom(ApiKeyParams other)
public ApiKeyParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ApiKeyParams.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setApiKey(String value)
public ApiKeyParams.Builder setApiKey(String value)
Optional. Input only. The API key for this auth_provider.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter |
| Name |
Description |
value |
String
The apiKey to set.
|
setApiKeyBytes(ByteString value)
public ApiKeyParams.Builder setApiKeyBytes(ByteString value)
Optional. Input only. The API key for this auth_provider.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for apiKey to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]