Class InsertRegionUrlMapRequest.Builder (1.57.0)

public static final class InsertRegionUrlMapRequest.Builder extends GeneratedMessageV3.Builder<InsertRegionUrlMapRequest.Builder> implements InsertRegionUrlMapRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.InsertRegionUrlMapRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InsertRegionUrlMapRequest build()
Returns
Type Description
InsertRegionUrlMapRequest

buildPartial()

public InsertRegionUrlMapRequest buildPartial()
Returns
Type Description
InsertRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public InsertRegionUrlMapRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
InsertRegionUrlMapRequest.Builder

This builder for chaining.

clearRegion()

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

This builder for chaining.

clearRequestId()

public InsertRegionUrlMapRequest.Builder clearRequestId()

begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.

optional string request_id = 37109963;

Returns
Type Description
InsertRegionUrlMapRequest.Builder

This builder for chaining.

clearUrlMapResource()

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

clone()

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

getDefaultInstanceForType()

public InsertRegionUrlMapRequest getDefaultInstanceForType()
Returns
Type Description
InsertRegionUrlMapRequest

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.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUrlMapResource(UrlMap value)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

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

This builder for chaining.

setRegionBytes(ByteString value)

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

This builder for chaining.

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

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

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrlMapResource(UrlMap value)

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

setUrlMapResource(UrlMap.Builder builderForValue)

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