public static final class CreateFirewallEndpointRequest.Builder extends GeneratedMessage.Builder<CreateFirewallEndpointRequest.Builder> implements CreateFirewallEndpointRequestOrBuilderMessage for creating a Endpoint
Protobuf type google.cloud.networksecurity.v1.CreateFirewallEndpointRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateFirewallEndpointRequest.BuilderImplements
CreateFirewallEndpointRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateFirewallEndpointRequest build()| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest |
|
buildPartial()
public CreateFirewallEndpointRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest |
|
clear()
public CreateFirewallEndpointRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
clearFirewallEndpoint()
public CreateFirewallEndpointRequest.Builder clearFirewallEndpoint()Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
clearFirewallEndpointId()
public CreateFirewallEndpointRequest.Builder clearFirewallEndpointId()Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
string firewall_endpoint_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
clearParent()
public CreateFirewallEndpointRequest.Builder clearParent()Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateFirewallEndpointRequest.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];
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateFirewallEndpointRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFirewallEndpoint()
public FirewallEndpoint getFirewallEndpoint()Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint |
The firewallEndpoint. |
getFirewallEndpointBuilder()
public FirewallEndpoint.Builder getFirewallEndpointBuilder()Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
getFirewallEndpointId()
public String getFirewallEndpointId()Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
string firewall_endpoint_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The firewallEndpointId. |
getFirewallEndpointIdBytes()
public ByteString getFirewallEndpointIdBytes()Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
string firewall_endpoint_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for firewallEndpointId. |
getFirewallEndpointOrBuilder()
public FirewallEndpointOrBuilder getFirewallEndpointOrBuilder()Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpointOrBuilder |
|
getParent()
public String getParent()Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Value for parent.
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];
| 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasFirewallEndpoint()
public boolean hasFirewallEndpoint()Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the firewallEndpoint field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFirewallEndpoint(FirewallEndpoint value)
public CreateFirewallEndpointRequest.Builder mergeFirewallEndpoint(FirewallEndpoint value)Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallEndpoint |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
mergeFrom(CreateFirewallEndpointRequest other)
public CreateFirewallEndpointRequest.Builder mergeFrom(CreateFirewallEndpointRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateFirewallEndpointRequest |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateFirewallEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateFirewallEndpointRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
setFirewallEndpoint(FirewallEndpoint value)
public CreateFirewallEndpointRequest.Builder setFirewallEndpoint(FirewallEndpoint value)Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallEndpoint |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
setFirewallEndpoint(FirewallEndpoint.Builder builderForValue)
public CreateFirewallEndpointRequest.Builder setFirewallEndpoint(FirewallEndpoint.Builder builderForValue)Required. The resource being created
.google.cloud.networksecurity.v1.FirewallEndpoint firewall_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FirewallEndpoint.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
|
setFirewallEndpointId(String value)
public CreateFirewallEndpointRequest.Builder setFirewallEndpointId(String value)Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
string firewall_endpoint_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe firewallEndpointId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
setFirewallEndpointIdBytes(ByteString value)
public CreateFirewallEndpointRequest.Builder setFirewallEndpointIdBytes(ByteString value)Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
string firewall_endpoint_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for firewallEndpointId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateFirewallEndpointRequest.Builder setParent(String value)Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateFirewallEndpointRequest.Builder setParentBytes(ByteString value)Required. Value for parent.
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 |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateFirewallEndpointRequest.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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateFirewallEndpointRequest.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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFirewallEndpointRequest.Builder |
This builder for chaining. |