public static final class ListSessionTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListSessionTemplatesResponse.Builder> implements ListSessionTemplatesResponseOrBuilder
A list of session templates.
Protobuf type google.cloud.dataproc.v1.ListSessionTemplatesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSessionTemplates(Iterable<? extends SessionTemplate> values)
public ListSessionTemplatesResponse.Builder addAllSessionTemplates(Iterable<? extends SessionTemplate> values)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.dataproc.v1.SessionTemplate>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSessionTemplatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSessionTemplates(SessionTemplate value)
public ListSessionTemplatesResponse.Builder addSessionTemplates(SessionTemplate value)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSessionTemplates(SessionTemplate.Builder builderForValue)
public ListSessionTemplatesResponse.Builder addSessionTemplates(SessionTemplate.Builder builderForValue)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSessionTemplates(int index, SessionTemplate value)
public ListSessionTemplatesResponse.Builder addSessionTemplates(int index, SessionTemplate value)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSessionTemplates(int index, SessionTemplate.Builder builderForValue)
public ListSessionTemplatesResponse.Builder addSessionTemplates(int index, SessionTemplate.Builder builderForValue)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSessionTemplatesBuilder()
public SessionTemplate.Builder addSessionTemplatesBuilder()
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSessionTemplatesBuilder(int index)
public SessionTemplate.Builder addSessionTemplatesBuilder(int index)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
build()
public ListSessionTemplatesResponse build()
buildPartial()
public ListSessionTemplatesResponse buildPartial()
clear()
public ListSessionTemplatesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSessionTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSessionTemplatesResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSessionTemplatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSessionTemplates()
public ListSessionTemplatesResponse.Builder clearSessionTemplates()
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ListSessionTemplatesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSessionTemplatesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
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;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSessionTemplates(int index)
public SessionTemplate getSessionTemplates(int index)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getSessionTemplatesBuilder(int index)
public SessionTemplate.Builder getSessionTemplatesBuilder(int index)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getSessionTemplatesBuilderList()
public List<SessionTemplate.Builder> getSessionTemplatesBuilderList()
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessionTemplatesCount()
public int getSessionTemplatesCount()
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getSessionTemplatesList()
public List<SessionTemplate> getSessionTemplatesList()
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSessionTemplatesOrBuilder(int index)
public SessionTemplateOrBuilder getSessionTemplatesOrBuilder(int index)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getSessionTemplatesOrBuilderList()
public List<? extends SessionTemplateOrBuilder> getSessionTemplatesOrBuilderList()
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.dataproc.v1.SessionTemplateOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSessionTemplatesResponse other)
public ListSessionTemplatesResponse.Builder mergeFrom(ListSessionTemplatesResponse other)
public ListSessionTemplatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSessionTemplatesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSessionTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSessionTemplates(int index)
public ListSessionTemplatesResponse.Builder removeSessionTemplates(int index)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSessionTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSessionTemplatesResponse.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;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSessionTemplatesResponse.Builder setNextPageTokenBytes(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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSessionTemplatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSessionTemplates(int index, SessionTemplate value)
public ListSessionTemplatesResponse.Builder setSessionTemplates(int index, SessionTemplate value)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setSessionTemplates(int index, SessionTemplate.Builder builderForValue)
public ListSessionTemplatesResponse.Builder setSessionTemplates(int index, SessionTemplate.Builder builderForValue)
Output only. Session template list
repeated .google.cloud.dataproc.v1.SessionTemplate session_templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSessionTemplatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides