Class ListSchemasResponse.Builder (0.42.0)

public static final class ListSchemasResponse.Builder extends GeneratedMessageV3.Builder<ListSchemasResponse.Builder> implements ListSchemasResponseOrBuilder

Response message for SchemaService.ListSchemas method.

Protobuf type google.cloud.discoveryengine.v1.ListSchemasResponse

Static Methods

getDescriptor()

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

Methods

addAllSchemas(Iterable<? extends Schema> values)

public ListSchemasResponse.Builder addAllSchemas(Iterable<? extends Schema> values)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1.Schema>
Returns
Type Description
ListSchemasResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSchemas(Schema value)

public ListSchemasResponse.Builder addSchemas(Schema value)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
value Schema
Returns
Type Description
ListSchemasResponse.Builder

addSchemas(Schema.Builder builderForValue)

public ListSchemasResponse.Builder addSchemas(Schema.Builder builderForValue)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
builderForValue Schema.Builder
Returns
Type Description
ListSchemasResponse.Builder

addSchemas(int index, Schema value)

public ListSchemasResponse.Builder addSchemas(int index, Schema value)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameters
Name Description
index int
value Schema
Returns
Type Description
ListSchemasResponse.Builder

addSchemas(int index, Schema.Builder builderForValue)

public ListSchemasResponse.Builder addSchemas(int index, Schema.Builder builderForValue)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameters
Name Description
index int
builderForValue Schema.Builder
Returns
Type Description
ListSchemasResponse.Builder

addSchemasBuilder()

public Schema.Builder addSchemasBuilder()

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Returns
Type Description
Schema.Builder

addSchemasBuilder(int index)

public Schema.Builder addSchemasBuilder(int index)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

build()

public ListSchemasResponse build()
Returns
Type Description
ListSchemasResponse

buildPartial()

public ListSchemasResponse buildPartial()
Returns
Type Description
ListSchemasResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSchemasResponse.Builder clearNextPageToken()

A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListSchemasResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemas()

public ListSchemasResponse.Builder clearSchemas()

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Returns
Type Description
ListSchemasResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSchemasResponse getDefaultInstanceForType()
Returns
Type Description
ListSchemasResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSchemas(int index)

public Schema getSchemas(int index)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
Schema

getSchemasBuilder(int index)

public Schema.Builder getSchemasBuilder(int index)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

getSchemasBuilderList()

public List<Schema.Builder> getSchemasBuilderList()

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Returns
Type Description
List<Builder>

getSchemasCount()

public int getSchemasCount()

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Returns
Type Description
int

getSchemasList()

public List<Schema> getSchemasList()

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Returns
Type Description
List<Schema>

getSchemasOrBuilder(int index)

public SchemaOrBuilder getSchemasOrBuilder(int index)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaOrBuilder

getSchemasOrBuilderList()

public List<? extends SchemaOrBuilder> getSchemasOrBuilderList()

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.SchemaOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSchemasResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSchemas(int index)

public ListSchemasResponse.Builder removeSchemas(int index)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSchemasResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSchemasResponse.Builder setNextPageToken(String value)

A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSchemasResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSchemasResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSchemasResponse.Builder

This builder for chaining.

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

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

setSchemas(int index, Schema value)

public ListSchemasResponse.Builder setSchemas(int index, Schema value)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameters
Name Description
index int
value Schema
Returns
Type Description
ListSchemasResponse.Builder

setSchemas(int index, Schema.Builder builderForValue)

public ListSchemasResponse.Builder setSchemas(int index, Schema.Builder builderForValue)

The Schemas.

repeated .google.cloud.discoveryengine.v1.Schema schemas = 1;

Parameters
Name Description
index int
builderForValue Schema.Builder
Returns
Type Description
ListSchemasResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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