public static final class ListSessionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder> implements ListSessionsResponseOrBuilder
A list of interactive sessions.Protobuf type
google.cloud.dataproc.v1.ListSessionsResponse| Modifier and Type | Method and Description |
|---|---|
ListSessionsResponse.Builder |
addAllSessions(Iterable<? extends Session> values)
Output only.
|
ListSessionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSessionsResponse.Builder |
addSessions(int index,
Session.Builder builderForValue)
Output only.
|
ListSessionsResponse.Builder |
addSessions(int index,
Session value)
Output only.
|
ListSessionsResponse.Builder |
addSessions(Session.Builder builderForValue)
Output only.
|
ListSessionsResponse.Builder |
addSessions(Session value)
Output only.
|
Session.Builder |
addSessionsBuilder()
Output only.
|
Session.Builder |
addSessionsBuilder(int index)
Output only.
|
ListSessionsResponse |
build() |
ListSessionsResponse |
buildPartial() |
ListSessionsResponse.Builder |
clear() |
ListSessionsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSessionsResponse.Builder |
clearNextPageToken()
A token, which can be sent as `page_token`, to retrieve the next page.
|
ListSessionsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSessionsResponse.Builder |
clearSessions()
Output only.
|
ListSessionsResponse.Builder |
clone() |
ListSessionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as `page_token`, to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as `page_token`, to retrieve the next page.
|
Session |
getSessions(int index)
Output only.
|
Session.Builder |
getSessionsBuilder(int index)
Output only.
|
List<Session.Builder> |
getSessionsBuilderList()
Output only.
|
int |
getSessionsCount()
Output only.
|
List<Session> |
getSessionsList()
Output only.
|
SessionOrBuilder |
getSessionsOrBuilder(int index)
Output only.
|
List<? extends SessionOrBuilder> |
getSessionsOrBuilderList()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSessionsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSessionsResponse.Builder |
mergeFrom(ListSessionsResponse other) |
ListSessionsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSessionsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSessionsResponse.Builder |
removeSessions(int index)
Output only.
|
ListSessionsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSessionsResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as `page_token`, to retrieve the next page.
|
ListSessionsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token`, to retrieve the next page.
|
ListSessionsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSessionsResponse.Builder |
setSessions(int index,
Session.Builder builderForValue)
Output only.
|
ListSessionsResponse.Builder |
setSessions(int index,
Session value)
Output only.
|
ListSessionsResponse.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<ListSessionsResponse.Builder>public ListSessionsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.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<ListSessionsResponse.Builder>public ListSessionsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSessionsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSessionsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSessionsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.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<ListSessionsResponse.Builder>public ListSessionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.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<ListSessionsResponse.Builder>public ListSessionsResponse.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<ListSessionsResponse.Builder>public ListSessionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder mergeFrom(ListSessionsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.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<ListSessionsResponse.Builder>IOExceptionpublic List<Session> getSessionsList()
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessionsList in interface ListSessionsResponseOrBuilderpublic int getSessionsCount()
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessionsCount in interface ListSessionsResponseOrBuilderpublic Session getSessions(int index)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessions in interface ListSessionsResponseOrBuilderpublic ListSessionsResponse.Builder setSessions(int index, Session value)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder setSessions(int index, Session.Builder builderForValue)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder addSessions(Session value)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder addSessions(int index, Session value)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder addSessions(Session.Builder builderForValue)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder addSessions(int index, Session.Builder builderForValue)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder addAllSessions(Iterable<? extends Session> values)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder clearSessions()
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ListSessionsResponse.Builder removeSessions(int index)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder getSessionsBuilder(int index)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SessionOrBuilder getSessionsOrBuilder(int index)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessionsOrBuilder in interface ListSessionsResponseOrBuilderpublic List<? extends SessionOrBuilder> getSessionsOrBuilderList()
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessionsOrBuilderList in interface ListSessionsResponseOrBuilderpublic Session.Builder addSessionsBuilder()
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder addSessionsBuilder(int index)
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Session.Builder> getSessionsBuilderList()
Output only. The sessions from the specified collection.
repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getNextPageToken()
A token, which can be sent as `page_token`, to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;getNextPageToken in interface ListSessionsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as `page_token`, to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;getNextPageTokenBytes in interface ListSessionsResponseOrBuilderpublic ListSessionsResponse.Builder setNextPageToken(String value)
A token, which can be sent as `page_token`, to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;value - The nextPageToken to set.public ListSessionsResponse.Builder clearNextPageToken()
A token, which can be sent as `page_token`, to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;public ListSessionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token`, to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;value - The bytes for nextPageToken to set.public final ListSessionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public final ListSessionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.