Class PatchRegionUrlMapRequest.Builder (1.63.0)

public static final class PatchRegionUrlMapRequest.Builder extends GeneratedMessageV3.Builder<PatchRegionUrlMapRequest.Builder> implements PatchRegionUrlMapRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.PatchRegionUrlMapRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchRegionUrlMapRequest build()
Returns
Type Description
PatchRegionUrlMapRequest

buildPartial()

public PatchRegionUrlMapRequest buildPartial()
Returns
Type Description
PatchRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public PatchRegionUrlMapRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

clearRegion()

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

This builder for chaining.

clearRequestId()

public PatchRegionUrlMapRequest.Builder clearRequestId()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

clearUrlMap()

public PatchRegionUrlMapRequest.Builder clearUrlMap()

Name of the UrlMap resource to patch.

string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

clearUrlMapResource()

public PatchRegionUrlMapRequest.Builder clearUrlMapResource()

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchRegionUrlMapRequest.Builder

clone()

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

getDefaultInstanceForType()

public PatchRegionUrlMapRequest getDefaultInstanceForType()
Returns
Type Description
PatchRegionUrlMapRequest

getDescriptorForType()

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

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

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
Type Description
ByteString

The bytes for requestId.

getUrlMap()

public String getUrlMap()

Name of the UrlMap resource to patch.

string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The urlMap.

getUrlMapBytes()

public ByteString getUrlMapBytes()

Name of the UrlMap resource to patch.

string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for urlMap.

getUrlMapResource()

public UrlMap getUrlMapResource()

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlMap

The urlMapResource.

getUrlMapResourceBuilder()

public UrlMap.Builder getUrlMapResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlMap.Builder

getUrlMapResourceOrBuilder()

public UrlMapOrBuilder getUrlMapResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlMapOrBuilder

hasRequestId()

public boolean hasRequestId()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
Type Description
boolean

Whether the requestId field is set.

hasUrlMapResource()

public boolean hasUrlMapResource()

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the urlMapResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchRegionUrlMapRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUrlMapResource(UrlMap value)

public PatchRegionUrlMapRequest.Builder mergeUrlMapResource(UrlMap value)

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UrlMap
Returns
Type Description
PatchRegionUrlMapRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

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

This builder for chaining.

setRegionBytes(ByteString value)

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

This builder for chaining.

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

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

setRequestId(String value)

public PatchRegionUrlMapRequest.Builder setRequestId(String value)

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public PatchRegionUrlMapRequest.Builder setRequestIdBytes(ByteString value)

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrlMap(String value)

public PatchRegionUrlMapRequest.Builder setUrlMap(String value)

Name of the UrlMap resource to patch.

string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The urlMap to set.

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

setUrlMapBytes(ByteString value)

public PatchRegionUrlMapRequest.Builder setUrlMapBytes(ByteString value)

Name of the UrlMap resource to patch.

string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for urlMap to set.

Returns
Type Description
PatchRegionUrlMapRequest.Builder

This builder for chaining.

setUrlMapResource(UrlMap value)

public PatchRegionUrlMapRequest.Builder setUrlMapResource(UrlMap value)

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UrlMap
Returns
Type Description
PatchRegionUrlMapRequest.Builder

setUrlMapResource(UrlMap.Builder builderForValue)

public PatchRegionUrlMapRequest.Builder setUrlMapResource(UrlMap.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.UrlMap url_map_resource = 168675425 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UrlMap.Builder
Returns
Type Description
PatchRegionUrlMapRequest.Builder