Class PatchNetworkEdgeSecurityServiceRequest.Builder (1.59.0)

public static final class PatchNetworkEdgeSecurityServiceRequest.Builder extends GeneratedMessageV3.Builder<PatchNetworkEdgeSecurityServiceRequest.Builder> implements PatchNetworkEdgeSecurityServiceRequestOrBuilder

A request message for NetworkEdgeSecurityServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchNetworkEdgeSecurityServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

build()

public PatchNetworkEdgeSecurityServiceRequest build()
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest

buildPartial()

public PatchNetworkEdgeSecurityServiceRequest buildPartial()
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PatchNetworkEdgeSecurityServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

clearNetworkEdgeSecurityService()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearNetworkEdgeSecurityService()

Name of the network edge security service to update.

string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clearNetworkEdgeSecurityServiceResource()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearNetworkEdgeSecurityServiceResource()

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchNetworkEdgeSecurityServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

clearPaths()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearPaths()

optional string paths = 106438894;

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clearProject()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clearRegion()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clearRequestId()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearRequestId()

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. 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).

optional string request_id = 37109963;

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clearUpdateMask()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearUpdateMask()

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clone()

public PatchNetworkEdgeSecurityServiceRequest.Builder clone()
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

getDefaultInstanceForType()

public PatchNetworkEdgeSecurityServiceRequest getDefaultInstanceForType()
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest

getDescriptorForType()

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

getNetworkEdgeSecurityService()

public String getNetworkEdgeSecurityService()

Name of the network edge security service to update.

string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The networkEdgeSecurityService.

getNetworkEdgeSecurityServiceBytes()

public ByteString getNetworkEdgeSecurityServiceBytes()

Name of the network edge security service to update.

string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for networkEdgeSecurityService.

getNetworkEdgeSecurityServiceResource()

public NetworkEdgeSecurityService getNetworkEdgeSecurityServiceResource()

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkEdgeSecurityService

The networkEdgeSecurityServiceResource.

getNetworkEdgeSecurityServiceResourceBuilder()

public NetworkEdgeSecurityService.Builder getNetworkEdgeSecurityServiceResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkEdgeSecurityService.Builder

getNetworkEdgeSecurityServiceResourceOrBuilder()

public NetworkEdgeSecurityServiceOrBuilder getNetworkEdgeSecurityServiceResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkEdgeSecurityServiceOrBuilder

getPaths()

public String getPaths()

optional string paths = 106438894;

Returns
Type Description
String

The paths.

getPathsBytes()

public ByteString getPathsBytes()

optional string paths = 106438894;

Returns
Type Description
ByteString

The bytes for paths.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];

Returns
Type Description
ByteString

The bytes for region.

getRequestId()

public String getRequestId()

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. 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).

optional string request_id = 37109963;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

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. 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).

optional string request_id = 37109963;

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public String getUpdateMask()

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
String

The updateMask.

getUpdateMaskBytes()

public ByteString getUpdateMaskBytes()

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
ByteString

The bytes for updateMask.

hasNetworkEdgeSecurityServiceResource()

public boolean hasNetworkEdgeSecurityServiceResource()

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the networkEdgeSecurityServiceResource field is set.

hasPaths()

public boolean hasPaths()

optional string paths = 106438894;

Returns
Type Description
boolean

Whether the paths field is set.

hasRequestId()

public boolean hasRequestId()

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. 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).

optional string request_id = 37109963;

Returns
Type Description
boolean

Whether the requestId field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchNetworkEdgeSecurityServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetworkEdgeSecurityServiceResource(NetworkEdgeSecurityService value)

public PatchNetworkEdgeSecurityServiceRequest.Builder mergeNetworkEdgeSecurityServiceResource(NetworkEdgeSecurityService value)

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NetworkEdgeSecurityService
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchNetworkEdgeSecurityServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

setNetworkEdgeSecurityService(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setNetworkEdgeSecurityService(String value)

Name of the network edge security service to update.

string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The networkEdgeSecurityService to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setNetworkEdgeSecurityServiceBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setNetworkEdgeSecurityServiceBytes(ByteString value)

Name of the network edge security service to update.

string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for networkEdgeSecurityService to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setNetworkEdgeSecurityServiceResource(NetworkEdgeSecurityService value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setNetworkEdgeSecurityServiceResource(NetworkEdgeSecurityService value)

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NetworkEdgeSecurityService
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

setNetworkEdgeSecurityServiceResource(NetworkEdgeSecurityService.Builder builderForValue)

public PatchNetworkEdgeSecurityServiceRequest.Builder setNetworkEdgeSecurityServiceResource(NetworkEdgeSecurityService.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NetworkEdgeSecurityService.Builder
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

setPaths(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setPaths(String value)

optional string paths = 106438894;

Parameter
Name Description
value String

The paths to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setPathsBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setPathsBytes(ByteString value)

optional string paths = 106438894;

Parameter
Name Description
value ByteString

The bytes for paths to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setProject(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setRegion(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

setRequestId(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setRequestId(String value)

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. 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).

optional string request_id = 37109963;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setRequestIdBytes(ByteString value)

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. 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).

optional string request_id = 37109963;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchNetworkEdgeSecurityServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

setUpdateMask(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setUpdateMask(String value)

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Parameter
Name Description
value String

The updateMask to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setUpdateMaskBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setUpdateMaskBytes(ByteString value)

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Parameter
Name Description
value ByteString

The bytes for updateMask to set.

Returns
Type Description
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.