Class ListServicesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListServicesRequest.Builder>
com.google.api.serviceusage.v1beta1.ListServicesRequest.Builder
- All Implemented Interfaces:
ListServicesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListServicesRequest
public static final class ListServicesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListServicesRequest.Builder>
implements ListServicesRequestOrBuilder
Request message for the `ListServices` method.Protobuf type
google.api.serviceusage.v1beta1.ListServicesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Only list services that conform to the given filter.Requested size of the next page of data.Token identifying which result to start with, which is returned by a previous list call.Parent to search for services on.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOnly list services that conform to the given filter.com.google.protobuf.ByteStringOnly list services that conform to the given filter.intRequested size of the next page of data.Token identifying which result to start with, which is returned by a previous list call.com.google.protobuf.ByteStringToken identifying which result to start with, which is returned by a previous list call.Parent to search for services on.com.google.protobuf.ByteStringParent to search for services on.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListServicesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Only list services that conform to the given filter.setFilterBytes(com.google.protobuf.ByteString value) Only list services that conform to the given filter.setPageSize(int value) Requested size of the next page of data.setPageToken(String value) Token identifying which result to start with, which is returned by a previous list call.setPageTokenBytes(com.google.protobuf.ByteString value) Token identifying which result to start with, which is returned by a previous list call.Parent to search for services on.setParentBytes(com.google.protobuf.ByteString value) Parent to search for services on.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListServicesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListServicesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListServicesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListServicesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListServicesRequest.Builder>
-
mergeFrom
public ListServicesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListServicesRequest.Builder>- Throws:
IOException
-
getParent
Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID).
string parent = 1;- Specified by:
getParentin interfaceListServicesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID).
string parent = 1;- Specified by:
getParentBytesin interfaceListServicesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID).
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID).
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID).
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListServicesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
Token identifying which result to start with, which is returned by a previous list call.
string page_token = 3;- Specified by:
getPageTokenin interfaceListServicesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Token identifying which result to start with, which is returned by a previous list call.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListServicesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Token identifying which result to start with, which is returned by a previous list call.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Token identifying which result to start with, which is returned by a previous list call.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
Token identifying which result to start with, which is returned by a previous list call.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getFilter
Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
string filter = 4;- Specified by:
getFilterin interfaceListServicesRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
string filter = 4;- Specified by:
getFilterBytesin interfaceListServicesRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
string filter = 4;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
string filter = 4;- Returns:
- This builder for chaining.
-
setFilterBytes
Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
string filter = 4;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-