Class GetSessionEntityTypeRequest.Builder (0.14.1)

public static final class GetSessionEntityTypeRequest.Builder extends GeneratedMessageV3.Builder<GetSessionEntityTypeRequest.Builder> implements GetSessionEntityTypeRequestOrBuilder

The request message for SessionEntityTypes.GetSessionEntityType.

Protobuf type google.cloud.dialogflow.cx.v3.GetSessionEntityTypeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetSessionEntityTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

build()

public GetSessionEntityTypeRequest build()
Returns
TypeDescription
GetSessionEntityTypeRequest

buildPartial()

public GetSessionEntityTypeRequest buildPartial()
Returns
TypeDescription
GetSessionEntityTypeRequest

clear()

public GetSessionEntityTypeRequest.Builder clear()
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetSessionEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

clearName()

public GetSessionEntityTypeRequest.Builder clearName()

Required. The name of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetSessionEntityTypeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetSessionEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

clone()

public GetSessionEntityTypeRequest.Builder clone()
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

getDefaultInstanceForType()

public GetSessionEntityTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetSessionEntityTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetSessionEntityTypeRequest other)

public GetSessionEntityTypeRequest.Builder mergeFrom(GetSessionEntityTypeRequest other)
Parameter
NameDescription
otherGetSessionEntityTypeRequest
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetSessionEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetSessionEntityTypeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetSessionEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetSessionEntityTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

setName(String value)

public GetSessionEntityTypeRequest.Builder setName(String value)

Required. The name of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetSessionEntityTypeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetSessionEntityTypeRequest.Builder setNameBytes(ByteString value)

Required. The name of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetSessionEntityTypeRequest.Builder

This builder for chaining.

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

public GetSessionEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetSessionEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetSessionEntityTypeRequest.Builder
Overrides