Class UpdateRegionUrlMapRequest.Builder (1.46.0)

public static final class UpdateRegionUrlMapRequest.Builder extends GeneratedMessageV3.Builder<UpdateRegionUrlMapRequest.Builder> implements UpdateRegionUrlMapRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.UpdateRegionUrlMapRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRegionUrlMapRequest build()
Returns
TypeDescription
UpdateRegionUrlMapRequest

buildPartial()

public UpdateRegionUrlMapRequest buildPartial()
Returns
TypeDescription
UpdateRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateRegionUrlMapRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public UpdateRegionUrlMapRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

clearRegion()

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

This builder for chaining.

clearRequestId()

public UpdateRegionUrlMapRequest.Builder clearRequestId()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

clearUrlMap()

public UpdateRegionUrlMapRequest.Builder clearUrlMap()

Name of the UrlMap resource to update.

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

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

clearUrlMapResource()

public UpdateRegionUrlMapRequest.Builder clearUrlMapResource()

The body resource for this request

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

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateRegionUrlMapRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRegionUrlMapRequest

getDescriptorForType()

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

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
TypeDescription
ByteString

The bytes for requestId.

getUrlMap()

public String getUrlMap()

Name of the UrlMap resource to update.

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

Returns
TypeDescription
String

The urlMap.

getUrlMapBytes()

public ByteString getUrlMapBytes()

Name of the UrlMap resource to update.

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

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

hasRequestId()

public boolean hasRequestId()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

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

Whether the urlMapResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateRegionUrlMapRequest other)

public UpdateRegionUrlMapRequest.Builder mergeFrom(UpdateRegionUrlMapRequest other)
Parameter
NameDescription
otherUpdateRegionUrlMapRequest
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateRegionUrlMapRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUrlMapResource(UrlMap value)

public UpdateRegionUrlMapRequest.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
NameDescription
valueUrlMap
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

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

This builder for chaining.

setRegionBytes(ByteString value)

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

This builder for chaining.

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

public UpdateRegionUrlMapRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder
Overrides

setRequestId(String value)

public UpdateRegionUrlMapRequest.Builder setRequestId(String value)

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateRegionUrlMapRequest.Builder setRequestIdBytes(ByteString value)

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRegionUrlMapRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder
Overrides

setUrlMap(String value)

public UpdateRegionUrlMapRequest.Builder setUrlMap(String value)

Name of the UrlMap resource to update.

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

Parameter
NameDescription
valueString

The urlMap to set.

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

setUrlMapBytes(ByteString value)

public UpdateRegionUrlMapRequest.Builder setUrlMapBytes(ByteString value)

Name of the UrlMap resource to update.

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

Parameter
NameDescription
valueByteString

The bytes for urlMap to set.

Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

This builder for chaining.

setUrlMapResource(UrlMap value)

public UpdateRegionUrlMapRequest.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
NameDescription
valueUrlMap
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder

setUrlMapResource(UrlMap.Builder builderForValue)

public UpdateRegionUrlMapRequest.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
NameDescription
builderForValueUrlMap.Builder
Returns
TypeDescription
UpdateRegionUrlMapRequest.Builder