Class Tool.Authentication.ServiceAgentAuthConfig.Builder (0.87.0)
public static final class Tool.Authentication.ServiceAgentAuthConfig.Builder extends GeneratedMessageV3.Builder<Tool.Authentication.ServiceAgentAuthConfig.Builder> implements Tool.Authentication.ServiceAgentAuthConfigOrBuilder
Config for auth using Diglogflow service
agent.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Tool.Authentication.ServiceAgentAuthConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig build()
public Tool.Authentication.ServiceAgentAuthConfig buildPartial()
public Tool.Authentication.ServiceAgentAuthConfig.Builder clear()
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder clearServiceAgentAuth()
Optional. Indicate the auth token type generated from the Diglogflow
service
agent.
The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
public Tool.Authentication.ServiceAgentAuthConfig.Builder clone()
Overrides
public Tool.Authentication.ServiceAgentAuthConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth getServiceAgentAuth()
Optional. Indicate the auth token type generated from the Diglogflow
service
agent.
The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
public int getServiceAgentAuthValue()
Optional. Indicate the auth token type generated from the Diglogflow
service
agent.
The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for serviceAgentAuth.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder mergeFrom(Tool.Authentication.ServiceAgentAuthConfig other)
public Tool.Authentication.ServiceAgentAuthConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Tool.Authentication.ServiceAgentAuthConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Tool.Authentication.ServiceAgentAuthConfig.Builder setServiceAgentAuth(Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth value)
Optional. Indicate the auth token type generated from the Diglogflow
service
agent.
The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
public Tool.Authentication.ServiceAgentAuthConfig.Builder setServiceAgentAuthValue(int value)
Optional. Indicate the auth token type generated from the Diglogflow
service
agent.
The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for serviceAgentAuth to set.
|
public final Tool.Authentication.ServiceAgentAuthConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]