Class InsertRegionUrlMapRequest.Builder (1.47.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InsertRegionUrlMapRequest build()
Returns
TypeDescription
InsertRegionUrlMapRequest

buildPartial()

public InsertRegionUrlMapRequest buildPartial()
Returns
TypeDescription
InsertRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InsertRegionUrlMapRequest getDefaultInstanceForType()
Returns
TypeDescription
InsertRegionUrlMapRequest

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.

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

public InsertRegionUrlMapRequest.Builder mergeFrom(InsertRegionUrlMapRequest other)
Parameter
NameDescription
otherInsertRegionUrlMapRequest
Returns
TypeDescription
InsertRegionUrlMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

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

The requestId to set.

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

The bytes for requestId to set.

Returns
TypeDescription
InsertRegionUrlMapRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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