Class ListEnginesResponse.Builder (0.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1alpha.Engine>
Returns
TypeDescription
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
NameDescription
valueEngine
Returns
TypeDescription
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
NameDescription
builderForValueEngine.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEngine
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEngine.Builder
Returns
TypeDescription
ListEnginesResponse.Builder

addEnginesBuilder()

public Engine.Builder addEnginesBuilder()

All the customer's Engines.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Engine.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEnginesResponse build()
Returns
TypeDescription
ListEnginesResponse

buildPartial()

public ListEnginesResponse buildPartial()
Returns
TypeDescription
ListEnginesResponse

clear()

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

clearEngines()

public ListEnginesResponse.Builder clearEngines()

All the customer's Engines.

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

Returns
TypeDescription
ListEnginesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEnginesResponse.Builder clearNextPageToken()

Not supported.

string next_page_token = 2;

Returns
TypeDescription
ListEnginesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEnginesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEnginesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEngines(int index)

public Engine getEngines(int index)

All the customer's Engines.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Engine

getEnginesBuilder(int index)

public Engine.Builder getEnginesBuilder(int index)

All the customer's Engines.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Engine.Builder

getEnginesBuilderList()

public List<Engine.Builder> getEnginesBuilderList()

All the customer's Engines.

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

Returns
TypeDescription
List<Builder>

getEnginesCount()

public int getEnginesCount()

All the customer's Engines.

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

Returns
TypeDescription
int

getEnginesList()

public List<Engine> getEnginesList()

All the customer's Engines.

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

Returns
TypeDescription
List<Engine>

getEnginesOrBuilder(int index)

public EngineOrBuilder getEnginesOrBuilder(int index)

All the customer's Engines.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EngineOrBuilder

getEnginesOrBuilderList()

public List<? extends EngineOrBuilder> getEnginesOrBuilderList()

All the customer's Engines.

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

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

getNextPageToken()

public String getNextPageToken()

Not supported.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Not supported.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEnginesResponse other)

public ListEnginesResponse.Builder mergeFrom(ListEnginesResponse other)
Parameter
NameDescription
otherListEnginesResponse
Returns
TypeDescription
ListEnginesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEnginesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEngine
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEngine.Builder
Returns
TypeDescription
ListEnginesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEnginesResponse.Builder setNextPageToken(String value)

Not supported.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListEnginesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEnginesResponse.Builder setNextPageTokenBytes(ByteString value)

Not supported.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEnginesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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