public static final class CreateSACAttachmentRequest.Builder extends GeneratedMessage.Builder<CreateSACAttachmentRequest.Builder> implements CreateSACAttachmentRequestOrBuilder Request for CreateSACAttachment method.
Protobuf type google.cloud.networksecurity.v1.CreateSACAttachmentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateSACAttachmentRequest.BuilderImplements
CreateSACAttachmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateSACAttachmentRequest build()| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest |
|
buildPartial()
public CreateSACAttachmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest |
|
clear()
public CreateSACAttachmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
clearParent()
public CreateSACAttachmentRequest.Builder clearParent() Required. The parent, in the form
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateSACAttachmentRequest.Builder clearRequestId()Optional. An optional request 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 will guarantee that for at least 60 minutes since the first request.
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 commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
clearSacAttachment()
public CreateSACAttachmentRequest.Builder clearSacAttachment()Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
clearSacAttachmentId()
public CreateSACAttachmentRequest.Builder clearSacAttachmentId() Required. ID of the created attachment.
The ID must be 1-63 characters long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
Specifically, it must be 1-63 characters long and match the regular
expression a-z?
which means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit, except
the last character, which cannot be a dash.
string sac_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateSACAttachmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent, in the form
projects/{project}/locations/{location}.
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, in the form
projects/{project}/locations/{location}.
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. An optional request 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 will guarantee that for at least 60 minutes since the first request.
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 commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. An optional request 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 will guarantee that for at least 60 minutes since the first request.
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 commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getSacAttachment()
public SACAttachment getSacAttachment()Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SACAttachment |
The sacAttachment. |
getSacAttachmentBuilder()
public SACAttachment.Builder getSacAttachmentBuilder()Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SACAttachment.Builder |
|
getSacAttachmentId()
public String getSacAttachmentId() Required. ID of the created attachment.
The ID must be 1-63 characters long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
Specifically, it must be 1-63 characters long and match the regular
expression a-z?
which means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit, except
the last character, which cannot be a dash.
string sac_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The sacAttachmentId. |
getSacAttachmentIdBytes()
public ByteString getSacAttachmentIdBytes() Required. ID of the created attachment.
The ID must be 1-63 characters long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
Specifically, it must be 1-63 characters long and match the regular
expression a-z?
which means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit, except
the last character, which cannot be a dash.
string sac_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sacAttachmentId. |
getSacAttachmentOrBuilder()
public SACAttachmentOrBuilder getSacAttachmentOrBuilder()Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SACAttachmentOrBuilder |
|
hasSacAttachment()
public boolean hasSacAttachment()Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sacAttachment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateSACAttachmentRequest other)
public CreateSACAttachmentRequest.Builder mergeFrom(CreateSACAttachmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateSACAttachmentRequest |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateSACAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateSACAttachmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
mergeSacAttachment(SACAttachment value)
public CreateSACAttachmentRequest.Builder mergeSacAttachment(SACAttachment value)Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SACAttachment |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
setParent(String value)
public CreateSACAttachmentRequest.Builder setParent(String value) Required. The parent, in the form
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateSACAttachmentRequest.Builder setParentBytes(ByteString value) Required. The parent, in the form
projects/{project}/locations/{location}.
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 |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateSACAttachmentRequest.Builder setRequestId(String value)Optional. An optional request 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 will guarantee that for at least 60 minutes since the first request.
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 commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateSACAttachmentRequest.Builder setRequestIdBytes(ByteString value)Optional. An optional request 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 will guarantee that for at least 60 minutes since the first request.
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 commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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 |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
setSacAttachment(SACAttachment value)
public CreateSACAttachmentRequest.Builder setSacAttachment(SACAttachment value)Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SACAttachment |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
setSacAttachment(SACAttachment.Builder builderForValue)
public CreateSACAttachmentRequest.Builder setSacAttachment(SACAttachment.Builder builderForValue)Required. The resource being created.
.google.cloud.networksecurity.v1.SACAttachment sac_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SACAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
|
setSacAttachmentId(String value)
public CreateSACAttachmentRequest.Builder setSacAttachmentId(String value) Required. ID of the created attachment.
The ID must be 1-63 characters long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
Specifically, it must be 1-63 characters long and match the regular
expression a-z?
which means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit, except
the last character, which cannot be a dash.
string sac_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sacAttachmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |
setSacAttachmentIdBytes(ByteString value)
public CreateSACAttachmentRequest.Builder setSacAttachmentIdBytes(ByteString value) Required. ID of the created attachment.
The ID must be 1-63 characters long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
Specifically, it must be 1-63 characters long and match the regular
expression a-z?
which means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit, except
the last character, which cannot be a dash.
string sac_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sacAttachmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSACAttachmentRequest.Builder |
This builder for chaining. |