public static final class RegisterInstanceRequest.Builder extends GeneratedMessageV3.Builder<RegisterInstanceRequest.Builder> implements RegisterInstanceRequestOrBuilder
Request for registering a notebook instance.
Protobuf type google.cloud.notebooks.v1.RegisterInstanceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegisterInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RegisterInstanceRequest build()
Returns
buildPartial()
public RegisterInstanceRequest buildPartial()
Returns
clear()
public RegisterInstanceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RegisterInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceId()
public RegisterInstanceRequest.Builder clearInstanceId()
Required. User defined unique ID of this instance. The instance_id
must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RegisterInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public RegisterInstanceRequest.Builder clearParent()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public RegisterInstanceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RegisterInstanceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceId()
public String getInstanceId()
Required. User defined unique ID of this instance. The instance_id
must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The instanceId.
|
getInstanceIdBytes()
public ByteString getInstanceIdBytes()
Required. User defined unique ID of this instance. The instance_id
must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for instanceId.
|
getParent()
public String getParent()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RegisterInstanceRequest other)
public RegisterInstanceRequest.Builder mergeFrom(RegisterInstanceRequest other)
Parameter
Returns
public RegisterInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RegisterInstanceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegisterInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RegisterInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceId(String value)
public RegisterInstanceRequest.Builder setInstanceId(String value)
Required. User defined unique ID of this instance. The instance_id
must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The instanceId to set.
|
Returns
setInstanceIdBytes(ByteString value)
public RegisterInstanceRequest.Builder setInstanceIdBytes(ByteString value)
Required. User defined unique ID of this instance. The instance_id
must
be 1 to 63 characters long and contain only lowercase letters,
numeric characters, and dashes. The first character must be a lowercase
letter and the last character cannot be a dash.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for instanceId to set.
|
Returns
setParent(String value)
public RegisterInstanceRequest.Builder setParent(String value)
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public RegisterInstanceRequest.Builder setParentBytes(ByteString value)
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegisterInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RegisterInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides