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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegisterInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RegisterInstanceRequest build()
buildPartial()
public RegisterInstanceRequest buildPartial()
clear()
public RegisterInstanceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RegisterInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public RegisterInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public RegisterInstanceRequest.Builder clearParent()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public RegisterInstanceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public RegisterInstanceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RegisterInstanceRequest other)
public RegisterInstanceRequest.Builder mergeFrom(RegisterInstanceRequest other)
public RegisterInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RegisterInstanceRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegisterInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RegisterInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegisterInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RegisterInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides