Class ValidateUrlMapRequest.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateUrlMapRequest build()
Returns
TypeDescription
ValidateUrlMapRequest

buildPartial()

public ValidateUrlMapRequest buildPartial()
Returns
TypeDescription
ValidateUrlMapRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public ValidateUrlMapRequest.Builder clearProject()

Project ID for this request.

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

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

clone()

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

getDefaultInstanceForType()

public ValidateUrlMapRequest getDefaultInstanceForType()
Returns
TypeDescription
ValidateUrlMapRequest

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.

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.

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

Whether the urlMapsValidateRequestResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidateUrlMapRequest other)

public ValidateUrlMapRequest.Builder mergeFrom(ValidateUrlMapRequest other)
Parameter
NameDescription
otherValidateUrlMapRequest
Returns
TypeDescription
ValidateUrlMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ValidateUrlMapRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

The urlMap to set.

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

The bytes for urlMap to set.

Returns
TypeDescription
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
NameDescription
valueUrlMapsValidateRequest
Returns
TypeDescription
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
NameDescription
builderForValueUrlMapsValidateRequest.Builder
Returns
TypeDescription
ValidateUrlMapRequest.Builder