Class ValidateUrlMapRequest.Builder (1.54.0)

public static final class ValidateUrlMapRequest.Builder extends GeneratedMessageV3.Builder<ValidateUrlMapRequest.Builder> implements ValidateUrlMapRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.ValidateUrlMapRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateUrlMapRequest build()
Returns
Type Description
ValidateUrlMapRequest

buildPartial()

public ValidateUrlMapRequest buildPartial()
Returns
Type Description
ValidateUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public ValidateUrlMapRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
ValidateUrlMapRequest.Builder

This builder for chaining.

clearUrlMap()

public ValidateUrlMapRequest.Builder clearUrlMap()

Name of the UrlMap resource to be validated as.

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

Returns
Type Description
ValidateUrlMapRequest.Builder

This builder for chaining.

clearUrlMapsValidateRequestResource()

public ValidateUrlMapRequest.Builder clearUrlMapsValidateRequestResource()

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateUrlMapRequest.Builder

clone()

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

getDefaultInstanceForType()

public ValidateUrlMapRequest getDefaultInstanceForType()
Returns
Type Description
ValidateUrlMapRequest

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.

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.

getUrlMapsValidateRequestResource()

public UrlMapsValidateRequest getUrlMapsValidateRequestResource()

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlMapsValidateRequest

The urlMapsValidateRequestResource.

getUrlMapsValidateRequestResourceBuilder()

public UrlMapsValidateRequest.Builder getUrlMapsValidateRequestResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlMapsValidateRequest.Builder

getUrlMapsValidateRequestResourceOrBuilder()

public UrlMapsValidateRequestOrBuilder getUrlMapsValidateRequestResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlMapsValidateRequestOrBuilder

hasUrlMapsValidateRequestResource()

public boolean hasUrlMapsValidateRequestResource()

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the urlMapsValidateRequestResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidateUrlMapRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUrlMapsValidateRequestResource(UrlMapsValidateRequest value)

public ValidateUrlMapRequest.Builder mergeUrlMapsValidateRequestResource(UrlMapsValidateRequest value)

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UrlMapsValidateRequest
Returns
Type Description
ValidateUrlMapRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrlMap(String value)

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

This builder for chaining.

setUrlMapBytes(ByteString value)

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

This builder for chaining.

setUrlMapsValidateRequestResource(UrlMapsValidateRequest value)

public ValidateUrlMapRequest.Builder setUrlMapsValidateRequestResource(UrlMapsValidateRequest value)

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UrlMapsValidateRequest
Returns
Type Description
ValidateUrlMapRequest.Builder

setUrlMapsValidateRequestResource(UrlMapsValidateRequest.Builder builderForValue)

public ValidateUrlMapRequest.Builder setUrlMapsValidateRequestResource(UrlMapsValidateRequest.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.UrlMapsValidateRequest url_maps_validate_request_resource = 395913455 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UrlMapsValidateRequest.Builder
Returns
Type Description
ValidateUrlMapRequest.Builder