Class ListEnginesResponse.Builder (0.45.0)

public static final class ListEnginesResponse.Builder extends GeneratedMessageV3.Builder<ListEnginesResponse.Builder> implements ListEnginesResponseOrBuilder

Response message for EngineService.ListEngines method.

Protobuf type google.cloud.discoveryengine.v1alpha.ListEnginesResponse

Static Methods

getDescriptor()

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

Methods

addAllEngines(Iterable<? extends Engine> values)

public ListEnginesResponse.Builder addAllEngines(Iterable<? extends Engine> values)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1alpha.Engine>
Returns
Type Description
ListEnginesResponse.Builder

addEngines(Engine value)

public ListEnginesResponse.Builder addEngines(Engine value)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
value Engine
Returns
Type Description
ListEnginesResponse.Builder

addEngines(Engine.Builder builderForValue)

public ListEnginesResponse.Builder addEngines(Engine.Builder builderForValue)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
builderForValue Engine.Builder
Returns
Type Description
ListEnginesResponse.Builder

addEngines(int index, Engine value)

public ListEnginesResponse.Builder addEngines(int index, Engine value)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameters
Name Description
index int
value Engine
Returns
Type Description
ListEnginesResponse.Builder

addEngines(int index, Engine.Builder builderForValue)

public ListEnginesResponse.Builder addEngines(int index, Engine.Builder builderForValue)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameters
Name Description
index int
builderForValue Engine.Builder
Returns
Type Description
ListEnginesResponse.Builder

addEnginesBuilder()

public Engine.Builder addEnginesBuilder()

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Returns
Type Description
Engine.Builder

addEnginesBuilder(int index)

public Engine.Builder addEnginesBuilder(int index)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
index int
Returns
Type Description
Engine.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEnginesResponse build()
Returns
Type Description
ListEnginesResponse

buildPartial()

public ListEnginesResponse buildPartial()
Returns
Type Description
ListEnginesResponse

clear()

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

clearEngines()

public ListEnginesResponse.Builder clearEngines()

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Returns
Type Description
ListEnginesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEnginesResponse.Builder clearNextPageToken()

Not supported.

string next_page_token = 2;

Returns
Type Description
ListEnginesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEnginesResponse getDefaultInstanceForType()
Returns
Type Description
ListEnginesResponse

getDescriptorForType()

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

getEngines(int index)

public Engine getEngines(int index)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
index int
Returns
Type Description
Engine

getEnginesBuilder(int index)

public Engine.Builder getEnginesBuilder(int index)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
index int
Returns
Type Description
Engine.Builder

getEnginesBuilderList()

public List<Engine.Builder> getEnginesBuilderList()

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Returns
Type Description
List<Builder>

getEnginesCount()

public int getEnginesCount()

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Returns
Type Description
int

getEnginesList()

public List<Engine> getEnginesList()

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Returns
Type Description
List<Engine>

getEnginesOrBuilder(int index)

public EngineOrBuilder getEnginesOrBuilder(int index)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
index int
Returns
Type Description
EngineOrBuilder

getEnginesOrBuilderList()

public List<? extends EngineOrBuilder> getEnginesOrBuilderList()

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.EngineOrBuilder>

getNextPageToken()

public String getNextPageToken()

Not supported.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Not supported.

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(ListEnginesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEngines(int index)

public ListEnginesResponse.Builder removeEngines(int index)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEnginesResponse.Builder

setEngines(int index, Engine value)

public ListEnginesResponse.Builder setEngines(int index, Engine value)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameters
Name Description
index int
value Engine
Returns
Type Description
ListEnginesResponse.Builder

setEngines(int index, Engine.Builder builderForValue)

public ListEnginesResponse.Builder setEngines(int index, Engine.Builder builderForValue)

All the customer's Engines.

repeated .google.cloud.discoveryengine.v1alpha.Engine engines = 1;

Parameters
Name Description
index int
builderForValue Engine.Builder
Returns
Type Description
ListEnginesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEnginesResponse.Builder setNextPageToken(String value)

Not supported.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEnginesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEnginesResponse.Builder setNextPageTokenBytes(ByteString value)

Not supported.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListEnginesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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