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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>
public ListSchemasRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListSchemasRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListSchemasRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListSchemasRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSchemasRequest.Builder>
IOException
public 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 ListSchemasRequestOrBuilder
public 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 ListSchemasRequestOrBuilder
public 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 ListSchemasRequestOrBuilder
public 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 ListSchemasRequestOrBuilder
public 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 ListSchemasRequestOrBuilder
public 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 ListSchemasRequestOrBuilder
public 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 ListSchemasRequestOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemasRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.