Class UrlMapReference.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UrlMapReference build()
Returns
TypeDescription
UrlMapReference

buildPartial()

public UrlMapReference buildPartial()
Returns
TypeDescription
UrlMapReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrlMap()

public UrlMapReference.Builder clearUrlMap()

optional string url_map = 367020684;

Returns
TypeDescription
UrlMapReference.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UrlMapReference getDefaultInstanceForType()
Returns
TypeDescription
UrlMapReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUrlMap()

public String getUrlMap()

optional string url_map = 367020684;

Returns
TypeDescription
String

The urlMap.

getUrlMapBytes()

public ByteString getUrlMapBytes()

optional string url_map = 367020684;

Returns
TypeDescription
ByteString

The bytes for urlMap.

hasUrlMap()

public boolean hasUrlMap()

optional string url_map = 367020684;

Returns
TypeDescription
boolean

Whether the urlMap field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UrlMapReference other)

public UrlMapReference.Builder mergeFrom(UrlMapReference other)
Parameter
NameDescription
otherUrlMapReference
Returns
TypeDescription
UrlMapReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UrlMapReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UrlMapReference.Builder
Overrides

setUrlMap(String value)

public UrlMapReference.Builder setUrlMap(String value)

optional string url_map = 367020684;

Parameter
NameDescription
valueString

The urlMap to set.

Returns
TypeDescription
UrlMapReference.Builder

This builder for chaining.

setUrlMapBytes(ByteString value)

public UrlMapReference.Builder setUrlMapBytes(ByteString value)

optional string url_map = 367020684;

Parameter
NameDescription
valueByteString

The bytes for urlMap to set.

Returns
TypeDescription
UrlMapReference.Builder

This builder for chaining.