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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSchemasResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSchemas(Schema value)
public ListSchemasResponse.Builder addSchemas(Schema value)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
addSchemas(Schema.Builder builderForValue)
public ListSchemasResponse.Builder addSchemas(Schema.Builder builderForValue)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
addSchemas(int index, Schema value)
public ListSchemasResponse.Builder addSchemas(int index, Schema value)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameters
Returns
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
Returns
addSchemasBuilder()
public Schema.Builder addSchemasBuilder()
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
addSchemasBuilder(int index)
public Schema.Builder addSchemasBuilder(int index)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
build()
public ListSchemasResponse build()
Returns
buildPartial()
public ListSchemasResponse buildPartial()
Returns
clear()
public ListSchemasResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSchemasResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSchemasResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSchemas()
public ListSchemasResponse.Builder clearSchemas()
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
clone()
public ListSchemasResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSchemasResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getSchemasBuilder(int index)
public Schema.Builder getSchemasBuilder(int index)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
getSchemasBuilderList()
public List<Schema.Builder> getSchemasBuilderList()
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
getSchemasCount()
public int getSchemasCount()
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
getSchemasList()
public List<Schema> getSchemasList()
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Returns
getSchemasOrBuilder(int index)
public SchemaOrBuilder getSchemasOrBuilder(int index)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ListSchemasResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSchemasResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ListSchemasResponse other)
public ListSchemasResponse.Builder mergeFrom(ListSchemasResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSchemasResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSchemas(int index)
public ListSchemasResponse.Builder removeSchemas(int index)
The resulting schemas.
repeated .google.pubsub.v1.Schema schemas = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSchemasResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSchemasResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSchemasResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides