Class Webhook.GenericWebService.ServiceAccountAuthConfig.Builder (0.92.0)

public static final class Webhook.GenericWebService.ServiceAccountAuthConfig.Builder extends GeneratedMessageV3.Builder<Webhook.GenericWebService.ServiceAccountAuthConfig.Builder> implements Webhook.GenericWebService.ServiceAccountAuthConfigOrBuilder

Configuration for authentication using a service account.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAccountAuthConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Webhook.GenericWebService.ServiceAccountAuthConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

build()

public Webhook.GenericWebService.ServiceAccountAuthConfig build()
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig

buildPartial()

public Webhook.GenericWebService.ServiceAccountAuthConfig buildPartial()
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig

clear()

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder clear()
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

clearServiceAccount()

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder clearServiceAccount()

Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the Authorization header of the webhook request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the Dialogflow service agent.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder

This builder for chaining.

clone()

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder clone()
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

getDefaultInstanceForType()

public Webhook.GenericWebService.ServiceAccountAuthConfig getDefaultInstanceForType()
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig

getDescriptorForType()

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

getServiceAccount()

public String getServiceAccount()

Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the Authorization header of the webhook request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the Dialogflow service agent.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the Authorization header of the webhook request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the Dialogflow service agent.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceAccount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Webhook.GenericWebService.ServiceAccountAuthConfig other)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder mergeFrom(Webhook.GenericWebService.ServiceAccountAuthConfig other)
Parameter
Name Description
other Webhook.GenericWebService.ServiceAccountAuthConfig
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Webhook.GenericWebService.ServiceAccountAuthConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides

setServiceAccount(String value)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder setServiceAccount(String value)

Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the Authorization header of the webhook request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the Dialogflow service agent.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public Webhook.GenericWebService.ServiceAccountAuthConfig.Builder setServiceAccountBytes(ByteString value)

Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the Authorization header of the webhook request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the Dialogflow service agent.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Webhook.GenericWebService.ServiceAccountAuthConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Webhook.GenericWebService.ServiceAccountAuthConfig.Builder
Overrides