Class ListGeneratorsResponse.Builder (4.55.0)

public static final class ListGeneratorsResponse.Builder extends GeneratedMessageV3.Builder<ListGeneratorsResponse.Builder> implements ListGeneratorsResponseOrBuilder

Response of ListGenerators.

Protobuf type google.cloud.dialogflow.v2.ListGeneratorsResponse

Static Methods

getDescriptor()

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

Methods

addAllGenerators(Iterable<? extends Generator> values)

public ListGeneratorsResponse.Builder addAllGenerators(Iterable<? extends Generator> values)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.Generator>
Returns
Type Description
ListGeneratorsResponse.Builder

addGenerators(Generator value)

public ListGeneratorsResponse.Builder addGenerators(Generator value)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
value Generator
Returns
Type Description
ListGeneratorsResponse.Builder

addGenerators(Generator.Builder builderForValue)

public ListGeneratorsResponse.Builder addGenerators(Generator.Builder builderForValue)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
builderForValue Generator.Builder
Returns
Type Description
ListGeneratorsResponse.Builder

addGenerators(int index, Generator value)

public ListGeneratorsResponse.Builder addGenerators(int index, Generator value)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameters
Name Description
index int
value Generator
Returns
Type Description
ListGeneratorsResponse.Builder

addGenerators(int index, Generator.Builder builderForValue)

public ListGeneratorsResponse.Builder addGenerators(int index, Generator.Builder builderForValue)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameters
Name Description
index int
builderForValue Generator.Builder
Returns
Type Description
ListGeneratorsResponse.Builder

addGeneratorsBuilder()

public Generator.Builder addGeneratorsBuilder()

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Returns
Type Description
Generator.Builder

addGeneratorsBuilder(int index)

public Generator.Builder addGeneratorsBuilder(int index)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
index int
Returns
Type Description
Generator.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGeneratorsResponse build()
Returns
Type Description
ListGeneratorsResponse

buildPartial()

public ListGeneratorsResponse buildPartial()
Returns
Type Description
ListGeneratorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenerators()

public ListGeneratorsResponse.Builder clearGenerators()

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Returns
Type Description
ListGeneratorsResponse.Builder

clearNextPageToken()

public ListGeneratorsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListGeneratorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListGeneratorsResponse getDefaultInstanceForType()
Returns
Type Description
ListGeneratorsResponse

getDescriptorForType()

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

getGenerators(int index)

public Generator getGenerators(int index)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
index int
Returns
Type Description
Generator

getGeneratorsBuilder(int index)

public Generator.Builder getGeneratorsBuilder(int index)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
index int
Returns
Type Description
Generator.Builder

getGeneratorsBuilderList()

public List<Generator.Builder> getGeneratorsBuilderList()

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Returns
Type Description
List<Builder>

getGeneratorsCount()

public int getGeneratorsCount()

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Returns
Type Description
int

getGeneratorsList()

public List<Generator> getGeneratorsList()

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Returns
Type Description
List<Generator>

getGeneratorsOrBuilder(int index)

public GeneratorOrBuilder getGeneratorsOrBuilder(int index)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
index int
Returns
Type Description
GeneratorOrBuilder

getGeneratorsOrBuilderList()

public List<? extends GeneratorOrBuilder> getGeneratorsOrBuilderList()

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.GeneratorOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGeneratorsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGenerators(int index)

public ListGeneratorsResponse.Builder removeGenerators(int index)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGeneratorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerators(int index, Generator value)

public ListGeneratorsResponse.Builder setGenerators(int index, Generator value)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameters
Name Description
index int
value Generator
Returns
Type Description
ListGeneratorsResponse.Builder

setGenerators(int index, Generator.Builder builderForValue)

public ListGeneratorsResponse.Builder setGenerators(int index, Generator.Builder builderForValue)

List of generators retrieved.

repeated .google.cloud.dialogflow.v2.Generator generators = 1;

Parameters
Name Description
index int
builderForValue Generator.Builder
Returns
Type Description
ListGeneratorsResponse.Builder

setNextPageToken(String value)

public ListGeneratorsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListGeneratorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGeneratorsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListGeneratorsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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