Class ListSessionTemplatesResponse (4.33.0)

public final class ListSessionTemplatesResponse extends GeneratedMessageV3 implements ListSessionTemplatesResponseOrBuilder

A list of session templates.

Protobuf type google.cloud.dataproc.v1.ListSessionTemplatesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SESSION_TEMPLATES_FIELD_NUMBER

public static final int SESSION_TEMPLATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSessionTemplatesResponse getDefaultInstance()
Returns
TypeDescription
ListSessionTemplatesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSessionTemplatesResponse.Builder newBuilder()
Returns
TypeDescription
ListSessionTemplatesResponse.Builder

newBuilder(ListSessionTemplatesResponse prototype)

public static ListSessionTemplatesResponse.Builder newBuilder(ListSessionTemplatesResponse prototype)
Parameter
NameDescription
prototypeListSessionTemplatesResponse
Returns
TypeDescription
ListSessionTemplatesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSessionTemplatesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSessionTemplatesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSessionTemplatesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSessionTemplatesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSessionTemplatesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSessionTemplatesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSessionTemplatesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSessionTemplatesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSessionTemplatesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSessionTemplatesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSessionTemplatesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSessionTemplatesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSessionTemplatesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSessionTemplatesResponse> parser()
Returns
TypeDescription
Parser<ListSessionTemplatesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSessionTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSessionTemplatesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSessionTemplatesResponse> getParserForType()
Returns
TypeDescription
Parser<ListSessionTemplatesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
NameDescription
indexint
Returns
TypeDescription
SessionTemplate

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
TypeDescription
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];

Returns
TypeDescription
List<SessionTemplate>

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
NameDescription
indexint
Returns
TypeDescription
SessionTemplateOrBuilder

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
TypeDescription
List<? extends com.google.cloud.dataproc.v1.SessionTemplateOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSessionTemplatesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSessionTemplatesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSessionTemplatesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSessionTemplatesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSessionTemplatesResponse.Builder toBuilder()
Returns
TypeDescription
ListSessionTemplatesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException