Class AnalyzeSyntaxRequest.Builder (2.25.0)

public static final class AnalyzeSyntaxRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeSyntaxRequest.Builder> implements AnalyzeSyntaxRequestOrBuilder

The syntax analysis request message.

Protobuf type google.cloud.language.v1.AnalyzeSyntaxRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeSyntaxRequest build()
Returns
TypeDescription
AnalyzeSyntaxRequest

buildPartial()

public AnalyzeSyntaxRequest buildPartial()
Returns
TypeDescription
AnalyzeSyntaxRequest

clear()

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

clearDocument()

public AnalyzeSyntaxRequest.Builder clearDocument()

Required. Input document.

.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AnalyzeSyntaxRequest.Builder

clearEncodingType()

public AnalyzeSyntaxRequest.Builder clearEncodingType()

The encoding type used by the API to calculate offsets.

.google.cloud.language.v1.EncodingType encoding_type = 2;

Returns
TypeDescription
AnalyzeSyntaxRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AnalyzeSyntaxRequest getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeSyntaxRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type