Class UpdateSessionTemplateRequest (4.51.0)

public final class UpdateSessionTemplateRequest extends GeneratedMessageV3 implements UpdateSessionTemplateRequestOrBuilder

A request to update a session template.

Protobuf type google.cloud.dataproc.v1.UpdateSessionTemplateRequest

Static Fields

SESSION_TEMPLATE_FIELD_NUMBER

public static final int SESSION_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateSessionTemplateRequest getDefaultInstance()
Returns
Type Description
UpdateSessionTemplateRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateSessionTemplateRequest.Builder newBuilder()
Returns
Type Description
UpdateSessionTemplateRequest.Builder

newBuilder(UpdateSessionTemplateRequest prototype)

public static UpdateSessionTemplateRequest.Builder newBuilder(UpdateSessionTemplateRequest prototype)
Parameter
Name Description
prototype UpdateSessionTemplateRequest
Returns
Type Description
UpdateSessionTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateSessionTemplateRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSessionTemplateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateSessionTemplateRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateSessionTemplateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateSessionTemplateRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateSessionTemplateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateSessionTemplateRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSessionTemplateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateSessionTemplateRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSessionTemplateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateSessionTemplateRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateSessionTemplateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateSessionTemplateRequest> parser()
Returns
Type Description
Parser<UpdateSessionTemplateRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateSessionTemplateRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSessionTemplateRequest

getParserForType()

public Parser<UpdateSessionTemplateRequest> getParserForType()
Returns
Type Description
Parser<UpdateSessionTemplateRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSessionTemplate()

public SessionTemplate getSessionTemplate()

Required. The updated session template.

.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionTemplate

The sessionTemplate.

getSessionTemplateOrBuilder()

public SessionTemplateOrBuilder getSessionTemplateOrBuilder()

Required. The updated session template.

.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionTemplateOrBuilder

hasSessionTemplate()

public boolean hasSessionTemplate()

Required. The updated session template.

.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sessionTemplate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateSessionTemplateRequest.Builder newBuilderForType()
Returns
Type Description
UpdateSessionTemplateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateSessionTemplateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateSessionTemplateRequest.Builder toBuilder()
Returns
Type Description
UpdateSessionTemplateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException