Class CreateInterceptDeploymentRequest.Builder (0.94.0)

public static final class CreateInterceptDeploymentRequest.Builder extends GeneratedMessage.Builder<CreateInterceptDeploymentRequest.Builder> implements CreateInterceptDeploymentRequestOrBuilder

Request message for CreateInterceptDeployment.

Protobuf type google.cloud.networksecurity.v1.CreateInterceptDeploymentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateInterceptDeploymentRequest build()
Returns
Type Description
CreateInterceptDeploymentRequest

buildPartial()

public CreateInterceptDeploymentRequest buildPartial()
Returns
Type Description
CreateInterceptDeploymentRequest

clear()

public CreateInterceptDeploymentRequest.Builder clear()
Returns
Type Description
CreateInterceptDeploymentRequest.Builder
Overrides

clearInterceptDeployment()

public CreateInterceptDeploymentRequest.Builder clearInterceptDeployment()

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

clearInterceptDeploymentId()

public CreateInterceptDeploymentRequest.Builder clearInterceptDeploymentId()

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string intercept_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

clearParent()

public CreateInterceptDeploymentRequest.Builder clearParent()

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

clearRequestId()

public CreateInterceptDeploymentRequest.Builder clearRequestId()

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateInterceptDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
CreateInterceptDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInterceptDeployment()

public InterceptDeployment getInterceptDeployment()

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptDeployment

The interceptDeployment.

getInterceptDeploymentBuilder()

public InterceptDeployment.Builder getInterceptDeploymentBuilder()

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptDeployment.Builder

getInterceptDeploymentId()

public String getInterceptDeploymentId()

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string intercept_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The interceptDeploymentId.

getInterceptDeploymentIdBytes()

public ByteString getInterceptDeploymentIdBytes()

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string intercept_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for interceptDeploymentId.

getInterceptDeploymentOrBuilder()

public InterceptDeploymentOrBuilder getInterceptDeploymentOrBuilder()

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptDeploymentOrBuilder

getParent()

public String getParent()

Required. The parent resource where this deployment will be created. Format: 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 resource where this deployment will be created. Format: 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. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasInterceptDeployment()

public boolean hasInterceptDeployment()

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interceptDeployment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateInterceptDeploymentRequest other)

public CreateInterceptDeploymentRequest.Builder mergeFrom(CreateInterceptDeploymentRequest other)
Parameter
Name Description
other CreateInterceptDeploymentRequest
Returns
Type Description
CreateInterceptDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInterceptDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateInterceptDeploymentRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateInterceptDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateInterceptDeploymentRequest.Builder
Overrides

mergeInterceptDeployment(InterceptDeployment value)

public CreateInterceptDeploymentRequest.Builder mergeInterceptDeployment(InterceptDeployment value)

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InterceptDeployment
Returns
Type Description
CreateInterceptDeploymentRequest.Builder

setInterceptDeployment(InterceptDeployment value)

public CreateInterceptDeploymentRequest.Builder setInterceptDeployment(InterceptDeployment value)

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InterceptDeployment
Returns
Type Description
CreateInterceptDeploymentRequest.Builder

setInterceptDeployment(InterceptDeployment.Builder builderForValue)

public CreateInterceptDeploymentRequest.Builder setInterceptDeployment(InterceptDeployment.Builder builderForValue)

Required. The deployment to create.

.google.cloud.networksecurity.v1.InterceptDeployment intercept_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue InterceptDeployment.Builder
Returns
Type Description
CreateInterceptDeploymentRequest.Builder

setInterceptDeploymentId(String value)

public CreateInterceptDeploymentRequest.Builder setInterceptDeploymentId(String value)

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string intercept_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The interceptDeploymentId to set.

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

setInterceptDeploymentIdBytes(ByteString value)

public CreateInterceptDeploymentRequest.Builder setInterceptDeploymentIdBytes(ByteString value)

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string intercept_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for interceptDeploymentId to set.

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

setParent(String value)

public CreateInterceptDeploymentRequest.Builder setParent(String value)

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateInterceptDeploymentRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

setRequestId(String value)

public CreateInterceptDeploymentRequest.Builder setRequestId(String value)

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateInterceptDeploymentRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateInterceptDeploymentRequest.Builder

This builder for chaining.