Send feedback
Class ApiKeyParams.Builder (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.9.0 (latest)
0.5.0
0.1.0
public static final class ApiKeyParams . Builder extends GeneratedMessage . Builder<ApiKeyParams . Builder > implements ApiKeyParamsOrBuilder
Message describing ApiKeyParams object.
Protobuf type google.cloud.agentidentity.v1beta.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.
Send feedback
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-18 UTC."],[],[]]