Class UrlMapReference.Builder (1.61.0)

public static final class UrlMapReference.Builder extends GeneratedMessageV3.Builder<UrlMapReference.Builder> implements UrlMapReferenceOrBuilder

Protobuf type google.cloud.compute.v1.UrlMapReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UrlMapReference build()
Returns
Type Description
UrlMapReference

buildPartial()

public UrlMapReference buildPartial()
Returns
Type Description
UrlMapReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrlMap()

public UrlMapReference.Builder clearUrlMap()

optional string url_map = 367020684;

Returns
Type Description
UrlMapReference.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UrlMapReference getDefaultInstanceForType()
Returns
Type Description
UrlMapReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUrlMap()

public String getUrlMap()

optional string url_map = 367020684;

Returns
Type Description
String

The urlMap.

getUrlMapBytes()

public ByteString getUrlMapBytes()

optional string url_map = 367020684;

Returns
Type Description
ByteString

The bytes for urlMap.

hasUrlMap()

public boolean hasUrlMap()

optional string url_map = 367020684;

Returns
Type Description
boolean

Whether the urlMap field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UrlMapReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrlMap(String value)

public UrlMapReference.Builder setUrlMap(String value)

optional string url_map = 367020684;

Parameter
Name Description
value String

The urlMap to set.

Returns
Type Description
UrlMapReference.Builder

This builder for chaining.

setUrlMapBytes(ByteString value)

public UrlMapReference.Builder setUrlMapBytes(ByteString value)

optional string url_map = 367020684;

Parameter
Name Description
value ByteString

The bytes for urlMap to set.

Returns
Type Description
UrlMapReference.Builder

This builder for chaining.