Class ListSchemasResponse.Builder (1.122.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.pubsub.v1.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 resulting schemas.

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

Parameter
NameDescription
valueSchema
Returns
TypeDescription
ListSchemasResponse.Builder

addSchemas(Schema.Builder builderForValue)

public ListSchemasResponse.Builder addSchemas(Schema.Builder builderForValue)

The resulting schemas.

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

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

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

Parameters
NameDescription
indexint
builderForValueSchema.Builder
Returns
TypeDescription
ListSchemasResponse.Builder

addSchemasBuilder()

public Schema.Builder addSchemasBuilder()

The resulting schemas.

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

Returns
TypeDescription
Schema.Builder

addSchemasBuilder(int index)

public Schema.Builder addSchemasBuilder(int index)

The resulting schemas.

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

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

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

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getSchemas(int index)

public Schema getSchemas(int index)

The resulting schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema

getSchemasBuilder(int index)

public Schema.Builder getSchemasBuilder(int index)

The resulting schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema.Builder

getSchemasBuilderList()

public List<Schema.Builder> getSchemasBuilderList()

The resulting schemas.

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

Returns
TypeDescription
List<Builder>

getSchemasCount()

public int getSchemasCount()

The resulting schemas.

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

Returns
TypeDescription
int

getSchemasList()

public List<Schema> getSchemasList()

The resulting schemas.

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

Returns
TypeDescription
List<Schema>

getSchemasOrBuilder(int index)

public SchemaOrBuilder getSchemasOrBuilder(int index)

The resulting schemas.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SchemaOrBuilder

getSchemasOrBuilderList()

public List<? extends SchemaOrBuilder> getSchemasOrBuilderList()

The resulting schemas.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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

mergeFrom(ListSchemasResponse other)

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

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

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

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
NameDescription
valueString

The nextPageToken to set.

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

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

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