Class InlineSchema.Builder (0.89.0)

public static final class InlineSchema.Builder extends GeneratedMessageV3.Builder<InlineSchema.Builder> implements InlineSchemaOrBuilder

A type schema object that's specified inline.

Protobuf type google.cloud.dialogflow.cx.v3beta1.InlineSchema

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InlineSchema build()
Returns
Type Description
InlineSchema

buildPartial()

public InlineSchema buildPartial()
Returns
Type Description
InlineSchema

clear()

public InlineSchema.Builder clear()
Returns
Type Description
InlineSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InlineSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InlineSchema.Builder
Overrides

clearItems()

public InlineSchema.Builder clearItems()

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Returns
Type Description
InlineSchema.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InlineSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InlineSchema.Builder
Overrides

clearType()

public InlineSchema.Builder clearType()

Data type of the schema.

.google.cloud.dialogflow.cx.v3beta1.DataType type = 1;

Returns
Type Description
InlineSchema.Builder

This builder for chaining.

clone()

public InlineSchema.Builder clone()
Returns
Type Description
InlineSchema.Builder
Overrides

getDefaultInstanceForType()

public InlineSchema getDefaultInstanceForType()
Returns
Type Description
InlineSchema

getDescriptorForType()

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

getItems()

public TypeSchema getItems()

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Returns
Type Description
TypeSchema

The items.

getItemsBuilder()

public TypeSchema.Builder getItemsBuilder()

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Returns
Type Description
TypeSchema.Builder

getItemsOrBuilder()

public TypeSchemaOrBuilder getItemsOrBuilder()

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Returns
Type Description
TypeSchemaOrBuilder

getType()

public DataType getType()

Data type of the schema.

.google.cloud.dialogflow.cx.v3beta1.DataType type = 1;

Returns
Type Description
DataType

The type.

getTypeValue()

public int getTypeValue()

Data type of the schema.

.google.cloud.dialogflow.cx.v3beta1.DataType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasItems()

public boolean hasItems()

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Returns
Type Description
boolean

Whether the items field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InlineSchema other)

public InlineSchema.Builder mergeFrom(InlineSchema other)
Parameter
Name Description
other InlineSchema
Returns
Type Description
InlineSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InlineSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InlineSchema.Builder
Overrides

mergeItems(TypeSchema value)

public InlineSchema.Builder mergeItems(TypeSchema value)

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Parameter
Name Description
value TypeSchema
Returns
Type Description
InlineSchema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InlineSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InlineSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setItems(TypeSchema value)

public InlineSchema.Builder setItems(TypeSchema value)

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Parameter
Name Description
value TypeSchema
Returns
Type Description
InlineSchema.Builder

setItems(TypeSchema.Builder builderForValue)

public InlineSchema.Builder setItems(TypeSchema.Builder builderForValue)

Schema of the elements if this is an ARRAY type.

.google.cloud.dialogflow.cx.v3beta1.TypeSchema items = 2;

Parameter
Name Description
builderForValue TypeSchema.Builder
Returns
Type Description
InlineSchema.Builder

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

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

setType(DataType value)

public InlineSchema.Builder setType(DataType value)

Data type of the schema.

.google.cloud.dialogflow.cx.v3beta1.DataType type = 1;

Parameter
Name Description
value DataType

The type to set.

Returns
Type Description
InlineSchema.Builder

This builder for chaining.

setTypeValue(int value)

public InlineSchema.Builder setTypeValue(int value)

Data type of the schema.

.google.cloud.dialogflow.cx.v3beta1.DataType type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
InlineSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InlineSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InlineSchema.Builder
Overrides