Class ApiKeyParams.Builder (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

Static Methods

getDescriptor()

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

Methods

build()

public ApiKeyParams build()
Returns
Type Description
ApiKeyParams

buildPartial()

public ApiKeyParams buildPartial()
Returns
Type Description
ApiKeyParams

clear()

public ApiKeyParams.Builder clear()
Returns
Type Description
ApiKeyParams.Builder
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];

Returns
Type Description
ApiKeyParams.Builder

This builder for chaining.

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()
Returns
Type Description
ApiKeyParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApiKeyParams other)

public ApiKeyParams.Builder mergeFrom(ApiKeyParams other)
Parameter
Name Description
other ApiKeyParams
Returns
Type Description
ApiKeyParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApiKeyParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiKeyParams.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApiKeyParams.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApiKeyParams.Builder
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.

Returns
Type Description
ApiKeyParams.Builder

This builder for chaining.

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.

Returns
Type Description
ApiKeyParams.Builder

This builder for chaining.