public static final class CreateMirrorRequest.Builder extends GeneratedMessage.Builder<CreateMirrorRequest.Builder> implements CreateMirrorRequestOrBuilderRequest for CreateMirror.
Protobuf type google.cloud.lustre.v1.CreateMirrorRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateMirrorRequest.BuilderImplements
CreateMirrorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateMirrorRequest build()| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest |
|
buildPartial()
public CreateMirrorRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest |
|
clear()
public CreateMirrorRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
clearMirror()
public CreateMirrorRequest.Builder clearMirror()Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
clearMirrorId()
public CreateMirrorRequest.Builder clearMirrorId()Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
clearParent()
public CreateMirrorRequest.Builder clearParent() Required. Parent instance resource where the mirror will be created, in the
format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateMirrorRequest.Builder clearRequestId()Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
This request is only idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateMirrorRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMirror()
public Mirror getMirror()Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Mirror |
The mirror. |
getMirrorBuilder()
public Mirror.Builder getMirrorBuilder()Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Mirror.Builder |
|
getMirrorId()
public String getMirrorId()Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The mirrorId. |
getMirrorIdBytes()
public ByteString getMirrorIdBytes()Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mirrorId. |
getMirrorOrBuilder()
public MirrorOrBuilder getMirrorOrBuilder()Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MirrorOrBuilder |
|
getParent()
public String getParent() Required. Parent instance resource where the mirror will be created, in the
format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Parent instance resource where the mirror will be created, in the
format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId()Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
This request is only idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
This request is only idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasMirror()
public boolean hasMirror()Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the mirror field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateMirrorRequest other)
public CreateMirrorRequest.Builder mergeFrom(CreateMirrorRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateMirrorRequest |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMirrorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateMirrorRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
mergeMirror(Mirror value)
public CreateMirrorRequest.Builder mergeMirror(Mirror value)Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Mirror |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
setMirror(Mirror value)
public CreateMirrorRequest.Builder setMirror(Mirror value)Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Mirror |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
setMirror(Mirror.Builder builderForValue)
public CreateMirrorRequest.Builder setMirror(Mirror.Builder builderForValue)Required. The mirror to create.
.google.cloud.lustre.v1.Mirror mirror = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Mirror.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
|
setMirrorId(String value)
public CreateMirrorRequest.Builder setMirrorId(String value)Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mirrorId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
setMirrorIdBytes(ByteString value)
public CreateMirrorRequest.Builder setMirrorIdBytes(ByteString value)Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
string mirror_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mirrorId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateMirrorRequest.Builder setParent(String value) Required. Parent instance resource where the mirror will be created, in the
format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateMirrorRequest.Builder setParentBytes(ByteString value) Required. Parent instance resource where the mirror will be created, in the
format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateMirrorRequest.Builder setRequestId(String value)Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
This request is only idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateMirrorRequest.Builder setRequestIdBytes(ByteString value)Optional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
This request is only idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMirrorRequest.Builder |
This builder for chaining. |