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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSessionTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSessionTemplateRequest build()
buildPartial()
public UpdateSessionTemplateRequest buildPartial()
clear()
public UpdateSessionTemplateRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSessionTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSessionTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSessionTemplate()
public UpdateSessionTemplateRequest.Builder clearSessionTemplate()
Required. The updated session template.
.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateSessionTemplateRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSessionTemplateRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSessionTemplate()
public SessionTemplate getSessionTemplate()
Required. The updated session template.
.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];
getSessionTemplateBuilder()
public SessionTemplate.Builder getSessionTemplateBuilder()
Required. The updated session template.
.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];
getSessionTemplateOrBuilder()
public SessionTemplateOrBuilder getSessionTemplateOrBuilder()
Required. The updated session template.
.google.cloud.dataproc.v1.SessionTemplate session_template = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSessionTemplateRequest other)
public UpdateSessionTemplateRequest.Builder mergeFrom(UpdateSessionTemplateRequest other)
public UpdateSessionTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSessionTemplateRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSessionTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSessionTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSessionTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSessionTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides