Class ValidateRegionUrlMapRequest.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateRegionUrlMapRequest build()
Returns
TypeDescription
ValidateRegionUrlMapRequest

buildPartial()

public ValidateRegionUrlMapRequest buildPartial()
Returns
TypeDescription
ValidateRegionUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public ValidateRegionUrlMapRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ValidateRegionUrlMapRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ValidateRegionUrlMapRequest getDefaultInstanceForType()
Returns
TypeDescription
ValidateRegionUrlMapRequest

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

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

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

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

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

getUrlMap()

public String getUrlMap()

Name of the UrlMap resource to be validated as.

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

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

Whether the regionUrlMapsValidateRequestResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidateRegionUrlMapRequest other)

public ValidateRegionUrlMapRequest.Builder mergeFrom(ValidateRegionUrlMapRequest other)
Parameter
NameDescription
otherValidateRegionUrlMapRequest
Returns
TypeDescription
ValidateRegionUrlMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ValidateRegionUrlMapRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRegionUrlMapsValidateRequest
Returns
TypeDescription
ValidateRegionUrlMapRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
valueRegionUrlMapsValidateRequest
Returns
TypeDescription
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
NameDescription
builderForValueRegionUrlMapsValidateRequest.Builder
Returns
TypeDescription
ValidateRegionUrlMapRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The urlMap to set.

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

The bytes for urlMap to set.

Returns
TypeDescription
ValidateRegionUrlMapRequest.Builder

This builder for chaining.