Class UpdateWorkflowTemplateRequest (4.25.0)

public final class UpdateWorkflowTemplateRequest extends GeneratedMessageV3 implements UpdateWorkflowTemplateRequestOrBuilder

A request to update a workflow template.

Protobuf type google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest

Static Fields

TEMPLATE_FIELD_NUMBER

public static final int TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateWorkflowTemplateRequest getDefaultInstance()
Returns
TypeDescription
UpdateWorkflowTemplateRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateWorkflowTemplateRequest prototype)

public static UpdateWorkflowTemplateRequest.Builder newBuilder(UpdateWorkflowTemplateRequest prototype)
Parameter
NameDescription
prototypeUpdateWorkflowTemplateRequest
Returns
TypeDescription
UpdateWorkflowTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateWorkflowTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateWorkflowTemplateRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTemplate()

public WorkflowTemplate getTemplate()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
WorkflowTemplate

The template.

getTemplateOrBuilder()

public WorkflowTemplateOrBuilder getTemplateOrBuilder()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
WorkflowTemplateOrBuilder

hasTemplate()

public boolean hasTemplate()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the template field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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