Class ListSchemaRevisionsResponse.Builder (1.134.1)

public static final class ListSchemaRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListSchemaRevisionsResponse.Builder> implements ListSchemaRevisionsResponseOrBuilder

Response for the ListSchemaRevisions method.

Protobuf type google.pubsub.v1.ListSchemaRevisionsResponse

Static Methods

getDescriptor()

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

Methods

addAllSchemas(Iterable<? extends Schema> values)

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

The revisions of the schema.

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

Parameter
Name Description
values Iterable<? extends com.google.pubsub.v1.Schema>
Returns
Type Description
ListSchemaRevisionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSchemas(Schema value)

public ListSchemaRevisionsResponse.Builder addSchemas(Schema value)

The revisions of the schema.

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

Parameter
Name Description
value Schema
Returns
Type Description
ListSchemaRevisionsResponse.Builder

addSchemas(Schema.Builder builderForValue)

public ListSchemaRevisionsResponse.Builder addSchemas(Schema.Builder builderForValue)

The revisions of the schema.

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

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

addSchemas(int index, Schema value)

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

The revisions of the schema.

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

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

addSchemas(int index, Schema.Builder builderForValue)

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

The revisions of the schema.

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

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

addSchemasBuilder()

public Schema.Builder addSchemasBuilder()

The revisions of the schema.

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

Returns
Type Description
Schema.Builder

addSchemasBuilder(int index)

public Schema.Builder addSchemasBuilder(int index)

The revisions of the schema.

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

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

build()

public ListSchemaRevisionsResponse build()
Returns
Type Description
ListSchemaRevisionsResponse

buildPartial()

public ListSchemaRevisionsResponse buildPartial()
Returns
Type Description
ListSchemaRevisionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSchemaRevisionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListSchemaRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemas()

public ListSchemaRevisionsResponse.Builder clearSchemas()

The revisions of the schema.

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

Returns
Type Description
ListSchemaRevisionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSchemaRevisionsResponse getDefaultInstanceForType()
Returns
Type Description
ListSchemaRevisionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is empty, 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 page_token to retrieve the next page. If this field is empty, 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 revisions of the schema.

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 revisions of the schema.

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

Parameter
Name Description
index int
Returns
Type Description
Schema.Builder

getSchemasBuilderList()

public List<Schema.Builder> getSchemasBuilderList()

The revisions of the schema.

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

Returns
Type Description
List<Builder>

getSchemasCount()

public int getSchemasCount()

The revisions of the schema.

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

Returns
Type Description
int

getSchemasList()

public List<Schema> getSchemasList()

The revisions of the schema.

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

Returns
Type Description
List<Schema>

getSchemasOrBuilder(int index)

public SchemaOrBuilder getSchemasOrBuilder(int index)

The revisions of the schema.

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

Parameter
Name Description
index int
Returns
Type Description
SchemaOrBuilder

getSchemasOrBuilderList()

public List<? extends SchemaOrBuilder> getSchemasOrBuilderList()

The revisions of the schema.

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 ListSchemaRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSchemaRevisionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListSchemaRevisionsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSchemas(int index)

public ListSchemaRevisionsResponse.Builder removeSchemas(int index)

The revisions of the schema.

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

Parameter
Name Description
index int
Returns
Type Description
ListSchemaRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSchemaRevisionsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSchemaRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSchemaRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSchemaRevisionsResponse.Builder

This builder for chaining.

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

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

setSchemas(int index, Schema value)

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

The revisions of the schema.

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

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

setSchemas(int index, Schema.Builder builderForValue)

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

The revisions of the schema.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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