public static final class CreateSessionTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateSessionTemplateRequest.Builder> implements CreateSessionTemplateRequestOrBuilder
A request to create a session template.
Protobuf type google.cloud.dataproc.v1.CreateSessionTemplateRequest
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 CreateSessionTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateSessionTemplateRequest build()
buildPartial()
public CreateSessionTemplateRequest buildPartial()
clear()
public CreateSessionTemplateRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateSessionTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateSessionTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateSessionTemplateRequest.Builder clearParent()
Required. The parent resource where this session template will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSessionTemplate()
public CreateSessionTemplateRequest.Builder clearSessionTemplate()
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateSessionTemplateRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateSessionTemplateRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource where this session template will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource where this session template will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getSessionTemplate()
public SessionTemplate getSessionTemplate()
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
getSessionTemplateBuilder()
public SessionTemplate.Builder getSessionTemplateBuilder()
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
getSessionTemplateOrBuilder()
public SessionTemplateOrBuilder getSessionTemplateOrBuilder()
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
hasSessionTemplate()
public boolean hasSessionTemplate()
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.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(CreateSessionTemplateRequest other)
public CreateSessionTemplateRequest.Builder mergeFrom(CreateSessionTemplateRequest other)
public CreateSessionTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateSessionTemplateRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSessionTemplate(SessionTemplate value)
public CreateSessionTemplateRequest.Builder mergeSessionTemplate(SessionTemplate value)
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateSessionTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateSessionTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateSessionTemplateRequest.Builder setParent(String value)
Required. The parent resource where this session template will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateSessionTemplateRequest.Builder setParentBytes(ByteString value)
Required. The parent resource where this session template will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateSessionTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSessionTemplate(SessionTemplate value)
public CreateSessionTemplateRequest.Builder setSessionTemplate(SessionTemplate value)
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
setSessionTemplate(SessionTemplate.Builder builderForValue)
public CreateSessionTemplateRequest.Builder setSessionTemplate(SessionTemplate.Builder builderForValue)
Required. The session template to create.
.google.cloud.dataproc.v1.SessionTemplate session_template = 3 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateSessionTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides