Class ListSchemasResponse.Builder (0.35.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.v1beta.ListSchemasResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSchemas(Iterable<? extends Schema> values)

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

The Schemas.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1beta.Schema>
Returns
TypeDescription
ListSchemasResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSchemas(Schema value)

public ListSchemasResponse.Builder addSchemas(Schema value)

The Schemas.

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

Parameter
NameDescription
valueSchema
Returns
TypeDescription
ListSchemasResponse.Builder

addSchemas(Schema.Builder builderForValue)

public ListSchemasResponse.Builder addSchemas(Schema.Builder builderForValue)

The Schemas.

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

Parameter
NameDescription
builderForValueSchema.Builder
Returns
TypeDescription
ListSchemasResponse.Builder

addSchemas(int index, Schema value)

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

The Schemas.

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

Parameters
NameDescription
indexint
valueSchema
Returns
TypeDescription
ListSchemasResponse.Builder

addSchemas(int index, Schema.Builder builderForValue)

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

The Schemas.

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

Parameters
NameDescription
indexint
builderForValueSchema.Builder
Returns
TypeDescription
ListSchemasResponse.Builder

addSchemasBuilder()

public Schema.Builder addSchemasBuilder()

The Schemas.

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

Returns
TypeDescription
Schema.Builder

addSchemasBuilder(int index)

public Schema.Builder addSchemasBuilder(int index)

The Schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema.Builder

build()

public ListSchemasResponse build()
Returns
TypeDescription
ListSchemasResponse

buildPartial()

public ListSchemasResponse buildPartial()
Returns
TypeDescription
ListSchemasResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListSchemasResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSchemasResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemas()

public ListSchemasResponse.Builder clearSchemas()

The Schemas.

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

Returns
TypeDescription
ListSchemasResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSchemasResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSchemasResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getSchemas(int index)

public Schema getSchemas(int index)

The Schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema

getSchemasBuilder(int index)

public Schema.Builder getSchemasBuilder(int index)

The Schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema.Builder

getSchemasBuilderList()

public List<Schema.Builder> getSchemasBuilderList()

The Schemas.

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

Returns
TypeDescription
List<Builder>

getSchemasCount()

public int getSchemasCount()

The Schemas.

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

Returns
TypeDescription
int

getSchemasList()

public List<Schema> getSchemasList()

The Schemas.

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

Returns
TypeDescription
List<Schema>

getSchemasOrBuilder(int index)

public SchemaOrBuilder getSchemasOrBuilder(int index)

The Schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SchemaOrBuilder

getSchemasOrBuilderList()

public List<? extends SchemaOrBuilder> getSchemasOrBuilderList()

The Schemas.

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.SchemaOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSchemasResponse other)

public ListSchemasResponse.Builder mergeFrom(ListSchemasResponse other)
Parameter
NameDescription
otherListSchemasResponse
Returns
TypeDescription
ListSchemasResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSchemasResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSchemasResponse.Builder
Overrides

removeSchemas(int index)

public ListSchemasResponse.Builder removeSchemas(int index)

The Schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListSchemasResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSchemasResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

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

setSchemas(int index, Schema value)

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

The Schemas.

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

Parameters
NameDescription
indexint
valueSchema
Returns
TypeDescription
ListSchemasResponse.Builder

setSchemas(int index, Schema.Builder builderForValue)

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

The Schemas.

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

Parameters
NameDescription
indexint
builderForValueSchema.Builder
Returns
TypeDescription
ListSchemasResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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