Class ListInstancesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
- com.google.cloud.filestore.v1beta1.ListInstancesRequest.Builder
-
- All Implemented Interfaces:
ListInstancesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListInstancesRequest
public static final class ListInstancesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder> implements ListInstancesRequestOrBuilder
ListInstancesRequest lists instances.
Protobuf typegoogle.cloud.filestore.v1beta1.ListInstancesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInstancesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListInstancesRequest
build()
ListInstancesRequest
buildPartial()
ListInstancesRequest.Builder
clear()
ListInstancesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListInstancesRequest.Builder
clearFilter()
List filter.ListInstancesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListInstancesRequest.Builder
clearOrderBy()
Sort results.ListInstancesRequest.Builder
clearPageSize()
The maximum number of items to return.ListInstancesRequest.Builder
clearPageToken()
The next_page_token value to use if there are additional results to retrieve for this list request.ListInstancesRequest.Builder
clearParent()
Required.ListInstancesRequest.Builder
clone()
ListInstancesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilter()
List filter.com.google.protobuf.ByteString
getFilterBytes()
List filter.String
getOrderBy()
Sort results.com.google.protobuf.ByteString
getOrderByBytes()
Sort results.int
getPageSize()
The maximum number of items to return.String
getPageToken()
The next_page_token value to use if there are additional results to retrieve for this list request.com.google.protobuf.ByteString
getPageTokenBytes()
The next_page_token value to use if there are additional results to retrieve for this list request.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListInstancesRequest.Builder
mergeFrom(ListInstancesRequest other)
ListInstancesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListInstancesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListInstancesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListInstancesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListInstancesRequest.Builder
setFilter(String value)
List filter.ListInstancesRequest.Builder
setFilterBytes(com.google.protobuf.ByteString value)
List filter.ListInstancesRequest.Builder
setOrderBy(String value)
Sort results.ListInstancesRequest.Builder
setOrderByBytes(com.google.protobuf.ByteString value)
Sort results.ListInstancesRequest.Builder
setPageSize(int value)
The maximum number of items to return.ListInstancesRequest.Builder
setPageToken(String value)
The next_page_token value to use if there are additional results to retrieve for this list request.ListInstancesRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
The next_page_token value to use if there are additional results to retrieve for this list request.ListInstancesRequest.Builder
setParent(String value)
Required.ListInstancesRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Required.ListInstancesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListInstancesRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
clear
public ListInstancesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
getDefaultInstanceForType
public ListInstancesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInstancesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInstancesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInstancesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
setField
public ListInstancesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
clearField
public ListInstancesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
clearOneof
public ListInstancesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
setRepeatedField
public ListInstancesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
addRepeatedField
public ListInstancesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
mergeFrom
public ListInstancesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListInstancesRequest.Builder>
-
mergeFrom
public ListInstancesRequest.Builder mergeFrom(ListInstancesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
mergeFrom
public ListInstancesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListInstancesRequest.Builder>
- Throws:
IOException
-
getParent
public String getParent()
Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use "-" for the `{location}` value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParent
in interfaceListInstancesRequestOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use "-" for the `{location}` value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParentBytes
in interfaceListInstancesRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
public ListInstancesRequest.Builder setParent(String value)
Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use "-" for the `{location}` value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public ListInstancesRequest.Builder clearParent()
Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use "-" for the `{location}` value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setParentBytes
public ListInstancesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use "-" for the `{location}` value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
The maximum number of items to return.
int32 page_size = 2;
- Specified by:
getPageSize
in interfaceListInstancesRequestOrBuilder
- Returns:
- The pageSize.
-
setPageSize
public ListInstancesRequest.Builder setPageSize(int value)
The maximum number of items to return.
int32 page_size = 2;
- Parameters:
value
- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListInstancesRequest.Builder clearPageSize()
The maximum number of items to return.
int32 page_size = 2;
- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
- Specified by:
getPageToken
in interfaceListInstancesRequestOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
- Specified by:
getPageTokenBytes
in interfaceListInstancesRequestOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public ListInstancesRequest.Builder setPageToken(String value)
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListInstancesRequest.Builder clearPageToken()
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListInstancesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getOrderBy
public String getOrderBy()
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
- Specified by:
getOrderBy
in interfaceListInstancesRequestOrBuilder
- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
- Specified by:
getOrderByBytes
in interfaceListInstancesRequestOrBuilder
- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListInstancesRequest.Builder setOrderBy(String value)
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
- Parameters:
value
- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
public ListInstancesRequest.Builder clearOrderBy()
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
- Returns:
- This builder for chaining.
-
setOrderByBytes
public ListInstancesRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
- Parameters:
value
- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
List filter.
string filter = 5;
- Specified by:
getFilter
in interfaceListInstancesRequestOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
List filter.
string filter = 5;
- Specified by:
getFilterBytes
in interfaceListInstancesRequestOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public ListInstancesRequest.Builder setFilter(String value)
List filter.
string filter = 5;
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListInstancesRequest.Builder clearFilter()
List filter.
string filter = 5;
- Returns:
- This builder for chaining.
-
setFilterBytes
public ListInstancesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
List filter.
string filter = 5;
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListInstancesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
mergeUnknownFields
public final ListInstancesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
-
-