Class PatchRegionUrlMapRequest.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchRegionUrlMapRequest build()
Returns
TypeDescription
PatchRegionUrlMapRequest

buildPartial()

public PatchRegionUrlMapRequest buildPartial()
Returns
TypeDescription
PatchRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchRegionUrlMapRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PatchRegionUrlMapRequest.Builder

clone()

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

getDefaultInstanceForType()

public PatchRegionUrlMapRequest getDefaultInstanceForType()
Returns
TypeDescription
PatchRegionUrlMapRequest

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

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

Returns
TypeDescription
String

The urlMap.

getUrlMapBytes()

public ByteString getUrlMapBytes()

Name of the UrlMap resource to patch.

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

public PatchRegionUrlMapRequest.Builder mergeFrom(PatchRegionUrlMapRequest other)
Parameter
NameDescription
otherPatchRegionUrlMapRequest
Returns
TypeDescription
PatchRegionUrlMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchRegionUrlMapRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueUrlMap
Returns
TypeDescription
PatchRegionUrlMapRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

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

The requestId to set.

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

The bytes for requestId to set.

Returns
TypeDescription
PatchRegionUrlMapRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

The urlMap to set.

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

The bytes for urlMap to set.

Returns
TypeDescription
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
NameDescription
valueUrlMap
Returns
TypeDescription
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
NameDescription
builderForValueUrlMap.Builder
Returns
TypeDescription
PatchRegionUrlMapRequest.Builder