public static final class ListSchemaRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListSchemaRevisionsResponse.Builder> implements ListSchemaRevisionsResponseOrBuilder
Response for the ListSchemaRevisions
method.
Protobuf type google.pubsub.v1.ListSchemaRevisionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSchemaRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSchemas(Schema value)
public ListSchemaRevisionsResponse.Builder addSchemas(Schema value)
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
addSchemas(Schema.Builder builderForValue)
public ListSchemaRevisionsResponse.Builder addSchemas(Schema.Builder builderForValue)
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
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
Returns
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
Returns
addSchemasBuilder()
public Schema.Builder addSchemasBuilder()
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
addSchemasBuilder(int index)
public Schema.Builder addSchemasBuilder(int index)
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
build()
public ListSchemaRevisionsResponse build()
Returns
buildPartial()
public ListSchemaRevisionsResponse buildPartial()
Returns
clear()
public ListSchemaRevisionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSchemaRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSchemaRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSchemas()
public ListSchemaRevisionsResponse.Builder clearSchemas()
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
clone()
public ListSchemaRevisionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSchemaRevisionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getSchemasBuilder(int index)
public Schema.Builder getSchemasBuilder(int index)
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
getSchemasBuilderList()
public List<Schema.Builder> getSchemasBuilderList()
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
getSchemasCount()
public int getSchemasCount()
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
getSchemasList()
public List<Schema> getSchemasList()
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
getSchemasOrBuilder(int index)
public SchemaOrBuilder getSchemasOrBuilder(int index)
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ListSchemaRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSchemaRevisionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ListSchemaRevisionsResponse other)
public ListSchemaRevisionsResponse.Builder mergeFrom(ListSchemaRevisionsResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSchemaRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSchemas(int index)
public ListSchemaRevisionsResponse.Builder removeSchemas(int index)
The revisions of the schema.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSchemaRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSchemaRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSchemaRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides