Class PatchNetworkEdgeSecurityServiceRequest.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchNetworkEdgeSecurityServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

build()

public PatchNetworkEdgeSecurityServiceRequest build()
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest

buildPartial()

public PatchNetworkEdgeSecurityServiceRequest buildPartial()
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest

clear()

public PatchNetworkEdgeSecurityServiceRequest.Builder clear()
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchNetworkEdgeSecurityServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchNetworkEdgeSecurityServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

clearPaths()

public PatchNetworkEdgeSecurityServiceRequest.Builder clearPaths()

optional string paths = 106438894;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

clone()

public PatchNetworkEdgeSecurityServiceRequest.Builder clone()
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

getDefaultInstanceForType()

public PatchNetworkEdgeSecurityServiceRequest getDefaultInstanceForType()
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
NetworkEdgeSecurityServiceOrBuilder

getPaths()

public String getPaths()

optional string paths = 106438894;

Returns
TypeDescription
String

The paths.

getPathsBytes()

public ByteString getPathsBytes()

optional string paths = 106438894;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The updateMask.

getUpdateMaskBytes()

public ByteString getUpdateMaskBytes()

Indicates fields to be updated as part of this request.

optional string update_mask = 500079778;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the networkEdgeSecurityServiceResource field is set.

hasPaths()

public boolean hasPaths()

optional string paths = 106438894;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PatchNetworkEdgeSecurityServiceRequest other)

public PatchNetworkEdgeSecurityServiceRequest.Builder mergeFrom(PatchNetworkEdgeSecurityServiceRequest other)
Parameter
NameDescription
otherPatchNetworkEdgeSecurityServiceRequest
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchNetworkEdgeSecurityServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PatchNetworkEdgeSecurityServiceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNetworkEdgeSecurityService
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchNetworkEdgeSecurityServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The networkEdgeSecurityService to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for networkEdgeSecurityService to set.

Returns
TypeDescription
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
NameDescription
valueNetworkEdgeSecurityService
Returns
TypeDescription
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
NameDescription
builderForValueNetworkEdgeSecurityService.Builder
Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

setPaths(String value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setPaths(String value)

optional string paths = 106438894;

Parameter
NameDescription
valueString

The paths to set.

Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setPathsBytes(ByteString value)

public PatchNetworkEdgeSecurityServiceRequest.Builder setPathsBytes(ByteString value)

optional string paths = 106438894;

Parameter
NameDescription
valueByteString

The bytes for paths to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchNetworkEdgeSecurityServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The updateMask to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for updateMask to set.

Returns
TypeDescription
PatchNetworkEdgeSecurityServiceRequest.Builder

This builder for chaining.