public static final class ListSessionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder> implements ListSessionsRequestOrBuilder
A request to list sessions in a project.Protobuf type
google.cloud.dataproc.v1.ListSessionsRequest| Modifier and Type | Method and Description |
|---|---|
ListSessionsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSessionsRequest |
build() |
ListSessionsRequest |
buildPartial() |
ListSessionsRequest.Builder |
clear() |
ListSessionsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSessionsRequest.Builder |
clearFilter()
Optional.
|
ListSessionsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSessionsRequest.Builder |
clearPageSize()
Optional.
|
ListSessionsRequest.Builder |
clearPageToken()
Optional.
|
ListSessionsRequest.Builder |
clearParent()
Required.
|
ListSessionsRequest.Builder |
clone() |
ListSessionsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSessionsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSessionsRequest.Builder |
mergeFrom(ListSessionsRequest other) |
ListSessionsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSessionsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSessionsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSessionsRequest.Builder |
setFilter(String value)
Optional.
|
ListSessionsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Optional.
|
ListSessionsRequest.Builder |
setPageSize(int value)
Optional.
|
ListSessionsRequest.Builder |
setPageToken(String value)
Optional.
|
ListSessionsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListSessionsRequest.Builder |
setParent(String value)
Required.
|
ListSessionsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListSessionsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSessionsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<ListSessionsRequest.Builder>public ListSessionsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.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<ListSessionsRequest.Builder>public ListSessionsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSessionsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSessionsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSessionsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder>public ListSessionsRequest.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<ListSessionsRequest.Builder>public ListSessionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder>public ListSessionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder>public ListSessionsRequest.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<ListSessionsRequest.Builder>public ListSessionsRequest.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<ListSessionsRequest.Builder>public ListSessionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSessionsRequest.Builder>public ListSessionsRequest.Builder mergeFrom(ListSessionsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder>public ListSessionsRequest.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<ListSessionsRequest.Builder>IOExceptionpublic String getParent()
Required. The parent, which owns this collection of sessions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListSessionsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent, which owns this collection of sessions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListSessionsRequestOrBuilderpublic ListSessionsRequest.Builder setParent(String value)
Required. The parent, which owns this collection of sessions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListSessionsRequest.Builder clearParent()
Required. The parent, which owns this collection of sessions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListSessionsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent, which owns this collection of sessions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getPageSize()
Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListSessionsRequestOrBuilderpublic ListSessionsRequest.Builder setPageSize(int value)
Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListSessionsRequest.Builder clearPageSize()
Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. A page token received from a previous `ListSessions` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface ListSessionsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. A page token received from a previous `ListSessions` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface ListSessionsRequestOrBuilderpublic ListSessionsRequest.Builder setPageToken(String value)
Optional. A page token received from a previous `ListSessions` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public ListSessionsRequest.Builder clearPageToken()
Optional. A page token received from a previous `ListSessions` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];public ListSessionsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. A page token received from a previous `ListSessions` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public String getFilter()
Optional. A filter for the sessions to return in the response. A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are `session_id`, `session_uuid`, `state`, and `create_time`. Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"` is a filter for sessions in an ACTIVE state that were created before 2023-01-01. See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface ListSessionsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. A filter for the sessions to return in the response. A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are `session_id`, `session_uuid`, `state`, and `create_time`. Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"` is a filter for sessions in an ACTIVE state that were created before 2023-01-01. See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface ListSessionsRequestOrBuilderpublic ListSessionsRequest.Builder setFilter(String value)
Optional. A filter for the sessions to return in the response. A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are `session_id`, `session_uuid`, `state`, and `create_time`. Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"` is a filter for sessions in an ACTIVE state that were created before 2023-01-01. See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public ListSessionsRequest.Builder clearFilter()
Optional. A filter for the sessions to return in the response. A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are `session_id`, `session_uuid`, `state`, and `create_time`. Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"` is a filter for sessions in an ACTIVE state that were created before 2023-01-01. See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];public ListSessionsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. A filter for the sessions to return in the response. A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are `session_id`, `session_uuid`, `state`, and `create_time`. Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"` is a filter for sessions in an ACTIVE state that were created before 2023-01-01. See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.public final ListSessionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder>public final ListSessionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.