public static final class ListSchemasRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder> implements ListSchemasRequestOrBuilder
Request for the `ListSchemas` method.Protobuf type
google.pubsub.v1.ListSchemasRequest| Modifier and Type | Method and Description |
|---|---|
ListSchemasRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSchemasRequest |
build() |
ListSchemasRequest |
buildPartial() |
ListSchemasRequest.Builder |
clear() |
ListSchemasRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSchemasRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSchemasRequest.Builder |
clearPageSize()
Maximum number of schemas to return.
|
ListSchemasRequest.Builder |
clearPageToken()
The value returned by the last `ListSchemasResponse`; indicates that
this is a continuation of a prior `ListSchemas` call, and that the
system should return the next page of data.
|
ListSchemasRequest.Builder |
clearParent()
Required.
|
ListSchemasRequest.Builder |
clearView()
The set of Schema fields to return in the response.
|
ListSchemasRequest.Builder |
clone() |
ListSchemasRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Maximum number of schemas to return.
|
String |
getPageToken()
The value returned by the last `ListSchemasResponse`; indicates that
this is a continuation of a prior `ListSchemas` call, and that the
system should return the next page of data.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The value returned by the last `ListSchemasResponse`; indicates that
this is a continuation of a prior `ListSchemas` call, and that the
system should return the next page of data.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
SchemaView |
getView()
The set of Schema fields to return in the response.
|
int |
getViewValue()
The set of Schema fields to return in the response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSchemasRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSchemasRequest.Builder |
mergeFrom(ListSchemasRequest other) |
ListSchemasRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSchemasRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSchemasRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSchemasRequest.Builder |
setPageSize(int value)
Maximum number of schemas to return.
|
ListSchemasRequest.Builder |
setPageToken(String value)
The value returned by the last `ListSchemasResponse`; indicates that
this is a continuation of a prior `ListSchemas` call, and that the
system should return the next page of data.
|
ListSchemasRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `ListSchemasResponse`; indicates that
this is a continuation of a prior `ListSchemas` call, and that the
system should return the next page of data.
|
ListSchemasRequest.Builder |
setParent(String value)
Required.
|
ListSchemasRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListSchemasRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSchemasRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSchemasRequest.Builder |
setView(SchemaView value)
The set of Schema fields to return in the response.
|
ListSchemasRequest.Builder |
setViewValue(int value)
The set of Schema fields to return in the response.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSchemasRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSchemasRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSchemasRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder mergeFrom(ListSchemasRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public ListSchemasRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSchemasRequest.Builder>IOExceptionpublic String getParent()
Required. The name of the project in which to list schemas.
Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListSchemasRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The name of the project in which to list schemas.
Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListSchemasRequestOrBuilderpublic ListSchemasRequest.Builder setParent(String value)
Required. The name of the project in which to list schemas.
Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListSchemasRequest.Builder clearParent()
Required. The name of the project in which to list schemas.
Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListSchemasRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the project in which to list schemas.
Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getViewValue()
The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
.google.pubsub.v1.SchemaView view = 2;getViewValue in interface ListSchemasRequestOrBuilderpublic ListSchemasRequest.Builder setViewValue(int value)
The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
.google.pubsub.v1.SchemaView view = 2;value - The enum numeric value on the wire for view to set.public SchemaView getView()
The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
.google.pubsub.v1.SchemaView view = 2;getView in interface ListSchemasRequestOrBuilderpublic ListSchemasRequest.Builder setView(SchemaView value)
The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
.google.pubsub.v1.SchemaView view = 2;value - The view to set.public ListSchemasRequest.Builder clearView()
The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
.google.pubsub.v1.SchemaView view = 2;public int getPageSize()
Maximum number of schemas to return.
int32 page_size = 3;getPageSize in interface ListSchemasRequestOrBuilderpublic ListSchemasRequest.Builder setPageSize(int value)
Maximum number of schemas to return.
int32 page_size = 3;value - The pageSize to set.public ListSchemasRequest.Builder clearPageSize()
Maximum number of schemas to return.
int32 page_size = 3;public String getPageToken()
The value returned by the last `ListSchemasResponse`; indicates that this is a continuation of a prior `ListSchemas` call, and that the system should return the next page of data.
string page_token = 4;getPageToken in interface ListSchemasRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The value returned by the last `ListSchemasResponse`; indicates that this is a continuation of a prior `ListSchemas` call, and that the system should return the next page of data.
string page_token = 4;getPageTokenBytes in interface ListSchemasRequestOrBuilderpublic ListSchemasRequest.Builder setPageToken(String value)
The value returned by the last `ListSchemasResponse`; indicates that this is a continuation of a prior `ListSchemas` call, and that the system should return the next page of data.
string page_token = 4;value - The pageToken to set.public ListSchemasRequest.Builder clearPageToken()
The value returned by the last `ListSchemasResponse`; indicates that this is a continuation of a prior `ListSchemas` call, and that the system should return the next page of data.
string page_token = 4;public ListSchemasRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `ListSchemasResponse`; indicates that this is a continuation of a prior `ListSchemas` call, and that the system should return the next page of data.
string page_token = 4;value - The bytes for pageToken to set.public final ListSchemasRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>public final ListSchemasRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.