Class ProbingDetails.EdgeLocation.Builder (1.84.0)

public static final class ProbingDetails.EdgeLocation.Builder extends GeneratedMessage.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.v1beta1.ProbingDetails.EdgeLocation

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.