Class ProbingDetails.EdgeLocation.Builder (1.54.0)

public static final class ProbingDetails.EdgeLocation.Builder extends GeneratedMessageV3.Builder<ProbingDetails.EdgeLocation.Builder> implements ProbingDetails.EdgeLocationOrBuilder

Representation of a network edge location as per https://cloud.google.com/vpc/docs/edge-locations.

Protobuf type google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProbingDetails.EdgeLocation build()
Returns
Type Description
ProbingDetails.EdgeLocation

buildPartial()

public ProbingDetails.EdgeLocation buildPartial()
Returns
Type Description
ProbingDetails.EdgeLocation

clear()

public ProbingDetails.EdgeLocation.Builder clear()
Returns
Type Description
ProbingDetails.EdgeLocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMetropolitanArea()

public ProbingDetails.EdgeLocation.Builder clearMetropolitanArea()

Name of the metropolitan area.

string metropolitan_area = 1;

Returns
Type Description
ProbingDetails.EdgeLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProbingDetails.EdgeLocation.Builder clone()
Returns
Type Description
ProbingDetails.EdgeLocation.Builder
Overrides

getDefaultInstanceForType()

public ProbingDetails.EdgeLocation getDefaultInstanceForType()
Returns
Type Description
ProbingDetails.EdgeLocation

getDescriptorForType()

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

getMetropolitanArea()

public String getMetropolitanArea()

Name of the metropolitan area.

string metropolitan_area = 1;

Returns
Type Description
String

The metropolitanArea.

getMetropolitanAreaBytes()

public ByteString getMetropolitanAreaBytes()

Name of the metropolitan area.

string metropolitan_area = 1;

Returns
Type Description
ByteString

The bytes for metropolitanArea.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProbingDetails.EdgeLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetropolitanArea(String value)

public ProbingDetails.EdgeLocation.Builder setMetropolitanArea(String value)

Name of the metropolitan area.

string metropolitan_area = 1;

Parameter
Name Description
value String

The metropolitanArea to set.

Returns
Type Description
ProbingDetails.EdgeLocation.Builder

This builder for chaining.

setMetropolitanAreaBytes(ByteString value)

public ProbingDetails.EdgeLocation.Builder setMetropolitanAreaBytes(ByteString value)

Name of the metropolitan area.

string metropolitan_area = 1;

Parameter
Name Description
value ByteString

The bytes for metropolitanArea to set.

Returns
Type Description
ProbingDetails.EdgeLocation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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