public static final class CreateNotebookRuntimeTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateNotebookRuntimeTemplateRequest.Builder> implements CreateNotebookRuntimeTemplateRequestOrBuilder
Request message for
NotebookService.CreateNotebookRuntimeTemplate.
Protobuf type google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateNotebookRuntimeTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateNotebookRuntimeTemplateRequest build()
public CreateNotebookRuntimeTemplateRequest buildPartial()
public CreateNotebookRuntimeTemplateRequest.Builder clear()
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder clearNotebookRuntimeTemplate()
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotebookRuntimeTemplateRequest.Builder clearNotebookRuntimeTemplateId()
Optional. User specified ID for the notebook runtime template.
string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
public CreateNotebookRuntimeTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder clearParent()
Required. The resource name of the Location to create the
NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateNotebookRuntimeTemplateRequest.Builder clone()
Overrides
public CreateNotebookRuntimeTemplateRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public NotebookRuntimeTemplate getNotebookRuntimeTemplate()
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public NotebookRuntimeTemplate.Builder getNotebookRuntimeTemplateBuilder()
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public String getNotebookRuntimeTemplateId()
Optional. User specified ID for the notebook runtime template.
string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The notebookRuntimeTemplateId.
|
public ByteString getNotebookRuntimeTemplateIdBytes()
Optional. User specified ID for the notebook runtime template.
string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for notebookRuntimeTemplateId.
|
public NotebookRuntimeTemplateOrBuilder getNotebookRuntimeTemplateOrBuilder()
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public String getParent()
Required. The resource name of the Location to create the
NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The resource name of the Location to create the
NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public boolean hasNotebookRuntimeTemplate()
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the notebookRuntimeTemplate field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder mergeFrom(CreateNotebookRuntimeTemplateRequest other)
public CreateNotebookRuntimeTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder mergeNotebookRuntimeTemplate(NotebookRuntimeTemplate value)
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public final CreateNotebookRuntimeTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplate(NotebookRuntimeTemplate value)
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplate(NotebookRuntimeTemplate.Builder builderForValue)
Required. The NotebookRuntimeTemplate to create.
.google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplateId(String value)
Optional. User specified ID for the notebook runtime template.
string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The notebookRuntimeTemplateId to set.
|
public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplateIdBytes(ByteString value)
Optional. User specified ID for the notebook runtime template.
string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for notebookRuntimeTemplateId to set.
|
public CreateNotebookRuntimeTemplateRequest.Builder setParent(String value)
Required. The resource name of the Location to create the
NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public CreateNotebookRuntimeTemplateRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Location to create the
NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public CreateNotebookRuntimeTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateNotebookRuntimeTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides