- 0.89.0 (latest)
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Tool.Authentication.ApiKeyConfig.Builder extends GeneratedMessageV3.Builder<Tool.Authentication.ApiKeyConfig.Builder> implements Tool.Authentication.ApiKeyConfigOrBuilderConfig for authentication with API key.
 Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Tool.Authentication.ApiKeyConfig.BuilderImplements
Tool.Authentication.ApiKeyConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Tool.Authentication.ApiKeyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
build()
public Tool.Authentication.ApiKeyConfig build()| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig | |
buildPartial()
public Tool.Authentication.ApiKeyConfig buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig | |
clear()
public Tool.Authentication.ApiKeyConfig.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
clearApiKey()
public Tool.Authentication.ApiKeyConfig.Builder clearApiKey() Optional. The API key. If the secret_version_for_api_key field is
 set, this field will be ignored.
 string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Tool.Authentication.ApiKeyConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
clearKeyName()
public Tool.Authentication.ApiKeyConfig.Builder clearKeyName()Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=<API KEY>", "X-Api-Key" would be the parameter name.
 string key_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Tool.Authentication.ApiKeyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
clearRequestLocation()
public Tool.Authentication.ApiKeyConfig.Builder clearRequestLocation()Required. Key location in the request.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
clone()
public Tool.Authentication.ApiKeyConfig.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
getApiKey()
public String getApiKey() Optional. The API key. If the secret_version_for_api_key field is
 set, this field will be ignored.
 string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The apiKey. | 
getApiKeyBytes()
public ByteString getApiKeyBytes() Optional. The API key. If the secret_version_for_api_key field is
 set, this field will be ignored.
 string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for apiKey. | 
getDefaultInstanceForType()
public Tool.Authentication.ApiKeyConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getKeyName()
public String getKeyName()Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=<API KEY>", "X-Api-Key" would be the parameter name.
 string key_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The keyName. | 
getKeyNameBytes()
public ByteString getKeyNameBytes()Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=<API KEY>", "X-Api-Key" would be the parameter name.
 string key_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for keyName. | 
getRequestLocation()
public Tool.Authentication.RequestLocation getRequestLocation()Required. Key location in the request.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.RequestLocation | The requestLocation. | 
getRequestLocationValue()
public int getRequestLocationValue()Required. Key location in the request.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for requestLocation. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(Tool.Authentication.ApiKeyConfig other)
public Tool.Authentication.ApiKeyConfig.Builder mergeFrom(Tool.Authentication.ApiKeyConfig other)| Parameter | |
|---|---|
| Name | Description | 
| other | Tool.Authentication.ApiKeyConfig | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tool.Authentication.ApiKeyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Tool.Authentication.ApiKeyConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Tool.Authentication.ApiKeyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
setApiKey(String value)
public Tool.Authentication.ApiKeyConfig.Builder setApiKey(String value) Optional. The API key. If the secret_version_for_api_key field is
 set, this field will be ignored.
 string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe apiKey to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
setApiKeyBytes(ByteString value)
public Tool.Authentication.ApiKeyConfig.Builder setApiKeyBytes(ByteString value) Optional. The API key. If the secret_version_for_api_key field is
 set, this field will be ignored.
 string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for apiKey to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Tool.Authentication.ApiKeyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
setKeyName(String value)
public Tool.Authentication.ApiKeyConfig.Builder setKeyName(String value)Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=<API KEY>", "X-Api-Key" would be the parameter name.
 string key_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe keyName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
setKeyNameBytes(ByteString value)
public Tool.Authentication.ApiKeyConfig.Builder setKeyNameBytes(ByteString value)Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=<API KEY>", "X-Api-Key" would be the parameter name.
 string key_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for keyName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Tool.Authentication.ApiKeyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |
setRequestLocation(Tool.Authentication.RequestLocation value)
public Tool.Authentication.ApiKeyConfig.Builder setRequestLocation(Tool.Authentication.RequestLocation value)Required. Key location in the request.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Tool.Authentication.RequestLocationThe requestLocation to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
setRequestLocationValue(int value)
public Tool.Authentication.ApiKeyConfig.Builder setRequestLocationValue(int value)Required. Key location in the request.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for requestLocation to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Tool.Authentication.ApiKeyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Tool.Authentication.ApiKeyConfig.Builder | |