Class ListSchemaRevisionsResponse.Builder (1.125.3)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.pubsub.v1.Schema>
Returns
TypeDescription
ListSchemaRevisionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSchemaRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSchema
Returns
TypeDescription
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
NameDescription
builderForValueSchema.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSchema
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSchema.Builder
Returns
TypeDescription
ListSchemaRevisionsResponse.Builder

addSchemasBuilder()

public Schema.Builder addSchemasBuilder()

The revisions of the schema.

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

Returns
TypeDescription
Schema.Builder

addSchemasBuilder(int index)

public Schema.Builder addSchemasBuilder(int index)

The revisions of the schema.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema.Builder

build()

public ListSchemaRevisionsResponse build()
Returns
TypeDescription
ListSchemaRevisionsResponse

buildPartial()

public ListSchemaRevisionsResponse buildPartial()
Returns
TypeDescription
ListSchemaRevisionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemas()

public ListSchemaRevisionsResponse.Builder clearSchemas()

The revisions of the schema.

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

Returns
TypeDescription
ListSchemaRevisionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSchemaRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSchemaRevisionsResponse

getDescriptorForType()

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

getSchemasBuilder(int index)

public Schema.Builder getSchemasBuilder(int index)

The revisions of the schema.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Schema.Builder

getSchemasBuilderList()

public List<Schema.Builder> getSchemasBuilderList()

The revisions of the schema.

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

Returns
TypeDescription
List<Builder>

getSchemasCount()

public int getSchemasCount()

The revisions of the schema.

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

Returns
TypeDescription
int

getSchemasList()

public List<Schema> getSchemasList()

The revisions of the schema.

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

Returns
TypeDescription
List<Schema>

getSchemasOrBuilder(int index)

public SchemaOrBuilder getSchemasOrBuilder(int index)

The revisions of the schema.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SchemaOrBuilder

getSchemasOrBuilderList()

public List<? extends SchemaOrBuilder> getSchemasOrBuilderList()

The revisions of the schema.

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 ListSchemaRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSchemaRevisionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(ListSchemaRevisionsResponse other)

public ListSchemaRevisionsResponse.Builder mergeFrom(ListSchemaRevisionsResponse other)
Parameter
NameDescription
otherListSchemaRevisionsResponse
Returns
TypeDescription
ListSchemaRevisionsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSchemaRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListSchemaRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSchema
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSchema.Builder
Returns
TypeDescription
ListSchemaRevisionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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