Class CreateInterceptEndpointGroupRequest.Builder (0.94.0)

public static final class CreateInterceptEndpointGroupRequest.Builder extends GeneratedMessage.Builder<CreateInterceptEndpointGroupRequest.Builder> implements CreateInterceptEndpointGroupRequestOrBuilder

Request message for CreateInterceptEndpointGroup.

Protobuf type google.cloud.networksecurity.v1.CreateInterceptEndpointGroupRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateInterceptEndpointGroupRequest build()
Returns
Type Description
CreateInterceptEndpointGroupRequest

buildPartial()

public CreateInterceptEndpointGroupRequest buildPartial()
Returns
Type Description
CreateInterceptEndpointGroupRequest

clear()

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

clearInterceptEndpointGroup()

public CreateInterceptEndpointGroupRequest.Builder clearInterceptEndpointGroup()

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

clearInterceptEndpointGroupId()

public CreateInterceptEndpointGroupRequest.Builder clearInterceptEndpointGroupId()

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

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

Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

clearParent()

public CreateInterceptEndpointGroupRequest.Builder clearParent()

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

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

Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

clearRequestId()

public CreateInterceptEndpointGroupRequest.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
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateInterceptEndpointGroupRequest getDefaultInstanceForType()
Returns
Type Description
CreateInterceptEndpointGroupRequest

getDescriptorForType()

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

getInterceptEndpointGroup()

public InterceptEndpointGroup getInterceptEndpointGroup()

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptEndpointGroup

The interceptEndpointGroup.

getInterceptEndpointGroupBuilder()

public InterceptEndpointGroup.Builder getInterceptEndpointGroupBuilder()

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptEndpointGroup.Builder

getInterceptEndpointGroupId()

public String getInterceptEndpointGroupId()

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

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

Returns
Type Description
String

The interceptEndpointGroupId.

getInterceptEndpointGroupIdBytes()

public ByteString getInterceptEndpointGroupIdBytes()

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

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

Returns
Type Description
ByteString

The bytes for interceptEndpointGroupId.

getInterceptEndpointGroupOrBuilder()

public InterceptEndpointGroupOrBuilder getInterceptEndpointGroupOrBuilder()

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptEndpointGroupOrBuilder

getParent()

public String getParent()

Required. The parent resource where this endpoint group 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 endpoint group 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.

hasInterceptEndpointGroup()

public boolean hasInterceptEndpointGroup()

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interceptEndpointGroup field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateInterceptEndpointGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInterceptEndpointGroup(InterceptEndpointGroup value)

public CreateInterceptEndpointGroupRequest.Builder mergeInterceptEndpointGroup(InterceptEndpointGroup value)

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InterceptEndpointGroup
Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

setInterceptEndpointGroup(InterceptEndpointGroup value)

public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroup(InterceptEndpointGroup value)

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InterceptEndpointGroup
Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

setInterceptEndpointGroup(InterceptEndpointGroup.Builder builderForValue)

public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroup(InterceptEndpointGroup.Builder builderForValue)

Required. The endpoint group to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroup intercept_endpoint_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue InterceptEndpointGroup.Builder
Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

setInterceptEndpointGroupId(String value)

public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroupId(String value)

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

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

Parameter
Name Description
value String

The interceptEndpointGroupId to set.

Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

setInterceptEndpointGroupIdBytes(ByteString value)

public CreateInterceptEndpointGroupRequest.Builder setInterceptEndpointGroupIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for interceptEndpointGroupId to set.

Returns
Type Description
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

setParent(String value)

public CreateInterceptEndpointGroupRequest.Builder setParent(String value)

Required. The parent resource where this endpoint group 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
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateInterceptEndpointGroupRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this endpoint group 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
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

setRequestId(String value)

public CreateInterceptEndpointGroupRequest.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
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateInterceptEndpointGroupRequest.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
CreateInterceptEndpointGroupRequest.Builder

This builder for chaining.