Class ValidateRegionUrlMapRequest.Builder (1.65.0)

public static final class ValidateRegionUrlMapRequest.Builder extends GeneratedMessageV3.Builder<ValidateRegionUrlMapRequest.Builder> implements ValidateRegionUrlMapRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.ValidateRegionUrlMapRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateRegionUrlMapRequest build()
Returns
Type Description
ValidateRegionUrlMapRequest

buildPartial()

public ValidateRegionUrlMapRequest buildPartial()
Returns
Type Description
ValidateRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public ValidateRegionUrlMapRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

clearRegion()

public ValidateRegionUrlMapRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

clearRegionUrlMapsValidateRequestResource()

public ValidateRegionUrlMapRequest.Builder clearRegionUrlMapsValidateRequestResource()

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

clearUrlMap()

public ValidateRegionUrlMapRequest.Builder clearUrlMap()

Name of the UrlMap resource to be validated as.

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

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ValidateRegionUrlMapRequest getDefaultInstanceForType()
Returns
Type Description
ValidateRegionUrlMapRequest

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];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

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];

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];

Returns
Type Description
ByteString

The bytes for region.

getRegionUrlMapsValidateRequestResource()

public RegionUrlMapsValidateRequest getRegionUrlMapsValidateRequestResource()

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegionUrlMapsValidateRequest

The regionUrlMapsValidateRequestResource.

getRegionUrlMapsValidateRequestResourceBuilder()

public RegionUrlMapsValidateRequest.Builder getRegionUrlMapsValidateRequestResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegionUrlMapsValidateRequest.Builder

getRegionUrlMapsValidateRequestResourceOrBuilder()

public RegionUrlMapsValidateRequestOrBuilder getRegionUrlMapsValidateRequestResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegionUrlMapsValidateRequestOrBuilder

getUrlMap()

public String getUrlMap()

Name of the UrlMap resource to be validated as.

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 be validated as.

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

Returns
Type Description
ByteString

The bytes for urlMap.

hasRegionUrlMapsValidateRequestResource()

public boolean hasRegionUrlMapsValidateRequestResource()

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the regionUrlMapsValidateRequestResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidateRegionUrlMapRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRegionUrlMapsValidateRequestResource(RegionUrlMapsValidateRequest value)

public ValidateRegionUrlMapRequest.Builder mergeRegionUrlMapsValidateRequestResource(RegionUrlMapsValidateRequest value)

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RegionUrlMapsValidateRequest
Returns
Type Description
ValidateRegionUrlMapRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public ValidateRegionUrlMapRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public ValidateRegionUrlMapRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

setRegion(String value)

public ValidateRegionUrlMapRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public ValidateRegionUrlMapRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

setRegionUrlMapsValidateRequestResource(RegionUrlMapsValidateRequest value)

public ValidateRegionUrlMapRequest.Builder setRegionUrlMapsValidateRequestResource(RegionUrlMapsValidateRequest value)

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RegionUrlMapsValidateRequest
Returns
Type Description
ValidateRegionUrlMapRequest.Builder

setRegionUrlMapsValidateRequestResource(RegionUrlMapsValidateRequest.Builder builderForValue)

public ValidateRegionUrlMapRequest.Builder setRegionUrlMapsValidateRequestResource(RegionUrlMapsValidateRequest.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.RegionUrlMapsValidateRequest region_url_maps_validate_request_resource = 56632858 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RegionUrlMapsValidateRequest.Builder
Returns
Type Description
ValidateRegionUrlMapRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrlMap(String value)

public ValidateRegionUrlMapRequest.Builder setUrlMap(String value)

Name of the UrlMap resource to be validated as.

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

Parameter
Name Description
value String

The urlMap to set.

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

setUrlMapBytes(ByteString value)

public ValidateRegionUrlMapRequest.Builder setUrlMapBytes(ByteString value)

Name of the UrlMap resource to be validated as.

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

Parameter
Name Description
value ByteString

The bytes for urlMap to set.

Returns
Type Description
ValidateRegionUrlMapRequest.Builder

This builder for chaining.