Class ListSchemasResponse.Builder (1.130.0)

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

Response for the ListSchemas method.

Protobuf type google.pubsub.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 resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Parameter
Name Description
values Iterable<? extends com.google.pubsub.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 resulting schemas.

repeated .google.pubsub.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 resulting schemas.

repeated .google.pubsub.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 resulting schemas.

repeated .google.pubsub.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 resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

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

addSchemasBuilder()

public Schema.Builder addSchemasBuilder()

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Returns
Type Description
Schema.Builder

addSchemasBuilder(int index)

public Schema.Builder addSchemasBuilder(int index)

The resulting schemas.

repeated .google.pubsub.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()

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

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 resulting schemas.

repeated .google.pubsub.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()

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSchemas(int index)

public Schema getSchemas(int index)

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
Schema

getSchemasBuilder(int index)

public Schema.Builder getSchemasBuilder(int index)

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

getSchemasBuilderList()

public List<Schema.Builder> getSchemasBuilderList()

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Returns
Type Description
List<Builder>

getSchemasCount()

public int getSchemasCount()

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Returns
Type Description
int

getSchemasList()

public List<Schema> getSchemasList()

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Returns
Type Description
List<Schema>

getSchemasOrBuilder(int index)

public SchemaOrBuilder getSchemasOrBuilder(int index)

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaOrBuilder

getSchemasOrBuilderList()

public List<? extends SchemaOrBuilder> getSchemasOrBuilderList()

The resulting schemas.

repeated .google.pubsub.v1.Schema schemas = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

mergeFrom(ListSchemasResponse other)

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

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 resulting schemas.

repeated .google.pubsub.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)

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

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)

If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new ListSchemasRequest.

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 resulting schemas.

repeated .google.pubsub.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 resulting schemas.

repeated .google.pubsub.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