Class ListWorkflowTemplatesResponse (4.32.0)

public final class ListWorkflowTemplatesResponse extends GeneratedMessageV3 implements ListWorkflowTemplatesResponseOrBuilder

A response to a request to list workflow templates in a project.

Protobuf type google.cloud.dataproc.v1.ListWorkflowTemplatesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TEMPLATES_FIELD_NUMBER

public static final int TEMPLATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListWorkflowTemplatesResponse getDefaultInstance()
Returns
TypeDescription
ListWorkflowTemplatesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListWorkflowTemplatesResponse prototype)

public static ListWorkflowTemplatesResponse.Builder newBuilder(ListWorkflowTemplatesResponse prototype)
Parameter
NameDescription
prototypeListWorkflowTemplatesResponse
Returns
TypeDescription
ListWorkflowTemplatesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListWorkflowTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWorkflowTemplatesResponse

getNextPageToken()

public String getNextPageToken()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTemplates(int index)

public WorkflowTemplate getTemplates(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkflowTemplate

getTemplatesCount()

public int getTemplatesCount()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getTemplatesList()

public List<WorkflowTemplate> getTemplatesList()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<WorkflowTemplate>

getTemplatesOrBuilder(int index)

public WorkflowTemplateOrBuilder getTemplatesOrBuilder(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkflowTemplateOrBuilder

getTemplatesOrBuilderList()

public List<? extends WorkflowTemplateOrBuilder> getTemplatesOrBuilderList()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder>

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 ListWorkflowTemplatesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListWorkflowTemplatesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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