public static final class ListSchemaRevisionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSchemaRevisionsRequest.Builder> implements ListSchemaRevisionsRequestOrBuilder
Request for the `ListSchemaRevisions` method.Protobuf type
google.pubsub.v1.ListSchemaRevisionsRequest
Modifier and Type | Method and Description |
---|---|
ListSchemaRevisionsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSchemaRevisionsRequest |
build() |
ListSchemaRevisionsRequest |
buildPartial() |
ListSchemaRevisionsRequest.Builder |
clear() |
ListSchemaRevisionsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSchemaRevisionsRequest.Builder |
clearName()
Required.
|
ListSchemaRevisionsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSchemaRevisionsRequest.Builder |
clearPageSize()
The maximum number of revisions to return per page.
|
ListSchemaRevisionsRequest.Builder |
clearPageToken()
The page token, received from a previous ListSchemaRevisions call.
|
ListSchemaRevisionsRequest.Builder |
clearView()
The set of Schema fields to return in the response.
|
ListSchemaRevisionsRequest.Builder |
clone() |
ListSchemaRevisionsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
int |
getPageSize()
The maximum number of revisions to return per page.
|
String |
getPageToken()
The page token, received from a previous ListSchemaRevisions call.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The page token, received from a previous ListSchemaRevisions call.
|
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() |
ListSchemaRevisionsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSchemaRevisionsRequest.Builder |
mergeFrom(ListSchemaRevisionsRequest other) |
ListSchemaRevisionsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSchemaRevisionsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSchemaRevisionsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSchemaRevisionsRequest.Builder |
setName(String value)
Required.
|
ListSchemaRevisionsRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ListSchemaRevisionsRequest.Builder |
setPageSize(int value)
The maximum number of revisions to return per page.
|
ListSchemaRevisionsRequest.Builder |
setPageToken(String value)
The page token, received from a previous ListSchemaRevisions call.
|
ListSchemaRevisionsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
The page token, received from a previous ListSchemaRevisions call.
|
ListSchemaRevisionsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSchemaRevisionsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSchemaRevisionsRequest.Builder |
setView(SchemaView value)
The set of Schema fields to return in the response.
|
ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListSchemaRevisionsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListSchemaRevisionsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.Builder mergeFrom(ListSchemaRevisionsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemaRevisionsRequest.Builder>
public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
IOException
public String getName()
Required. The name of the schema to list revisions for.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName
in interface ListSchemaRevisionsRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. The name of the schema to list revisions for.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes
in interface ListSchemaRevisionsRequestOrBuilder
public ListSchemaRevisionsRequest.Builder setName(String value)
Required. The name of the schema to list revisions for.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The name to set.public ListSchemaRevisionsRequest.Builder clearName()
Required. The name of the schema to list revisions for.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListSchemaRevisionsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the schema to list revisions for.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for name 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 ListSchemaRevisionsRequestOrBuilder
public ListSchemaRevisionsRequest.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 ListSchemaRevisionsRequestOrBuilder
public ListSchemaRevisionsRequest.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 ListSchemaRevisionsRequest.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()
The maximum number of revisions to return per page.
int32 page_size = 3;
getPageSize
in interface ListSchemaRevisionsRequestOrBuilder
public ListSchemaRevisionsRequest.Builder setPageSize(int value)
The maximum number of revisions to return per page.
int32 page_size = 3;
value
- The pageSize to set.public ListSchemaRevisionsRequest.Builder clearPageSize()
The maximum number of revisions to return per page.
int32 page_size = 3;
public String getPageToken()
The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.
string page_token = 4;
getPageToken
in interface ListSchemaRevisionsRequestOrBuilder
public com.google.protobuf.ByteString getPageTokenBytes()
The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.
string page_token = 4;
getPageTokenBytes
in interface ListSchemaRevisionsRequestOrBuilder
public ListSchemaRevisionsRequest.Builder setPageToken(String value)
The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.
string page_token = 4;
value
- The pageToken to set.public ListSchemaRevisionsRequest.Builder clearPageToken()
The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.
string page_token = 4;
public ListSchemaRevisionsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.
string page_token = 4;
value
- The bytes for pageToken to set.public final ListSchemaRevisionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemaRevisionsRequest.Builder>
public final ListSchemaRevisionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSchemaRevisionsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.