Class UpdateSessionTemplateRequest.Builder (4.50.0)

public static final class UpdateSessionTemplateRequest.Builder extends GeneratedMessageV3.Builder<UpdateSessionTemplateRequest.Builder> implements UpdateSessionTemplateRequestOrBuilder

A request to update a session template.

Protobuf type google.cloud.dataproc.v1.UpdateSessionTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSessionTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

build()

public UpdateSessionTemplateRequest build()
Returns
Type Description
UpdateSessionTemplateRequest

buildPartial()

public UpdateSessionTemplateRequest buildPartial()
Returns
Type Description
UpdateSessionTemplateRequest

clear()

public UpdateSessionTemplateRequest.Builder clear()
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSessionTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSessionTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

clearSessionTemplate()

public UpdateSessionTemplateRequest.Builder clearSessionTemplate()

Required. The updated session template.

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

Returns
Type Description
UpdateSessionTemplateRequest.Builder

clone()

public UpdateSessionTemplateRequest.Builder clone()
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateSessionTemplateRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSessionTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSessionTemplateBuilder()

public SessionTemplate.Builder getSessionTemplateBuilder()

Required. The updated session template.

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

Returns
Type Description
SessionTemplate.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSessionTemplateRequest other)

public UpdateSessionTemplateRequest.Builder mergeFrom(UpdateSessionTemplateRequest other)
Parameter
Name Description
other UpdateSessionTemplateRequest
Returns
Type Description
UpdateSessionTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSessionTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateSessionTemplateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

mergeSessionTemplate(SessionTemplate value)

public UpdateSessionTemplateRequest.Builder mergeSessionTemplate(SessionTemplate value)

Required. The updated session template.

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

Parameter
Name Description
value SessionTemplate
Returns
Type Description
UpdateSessionTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSessionTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSessionTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateSessionTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides

setSessionTemplate(SessionTemplate value)

public UpdateSessionTemplateRequest.Builder setSessionTemplate(SessionTemplate value)

Required. The updated session template.

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

Parameter
Name Description
value SessionTemplate
Returns
Type Description
UpdateSessionTemplateRequest.Builder

setSessionTemplate(SessionTemplate.Builder builderForValue)

public UpdateSessionTemplateRequest.Builder setSessionTemplate(SessionTemplate.Builder builderForValue)

Required. The updated session template.

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

Parameter
Name Description
builderForValue SessionTemplate.Builder
Returns
Type Description
UpdateSessionTemplateRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSessionTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSessionTemplateRequest.Builder
Overrides