Class ProbingDetails.EdgeLocation.Builder (1.10.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.v1beta1.ProbingDetails.EdgeLocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProbingDetails.EdgeLocation build()
Returns
TypeDescription
ProbingDetails.EdgeLocation

buildPartial()

public ProbingDetails.EdgeLocation buildPartial()
Returns
TypeDescription
ProbingDetails.EdgeLocation

clear()

public ProbingDetails.EdgeLocation.Builder clear()
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMetropolitanArea()

public ProbingDetails.EdgeLocation.Builder clearMetropolitanArea()

Name of the metropolitan area.

string metropolitan_area = 1;

Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProbingDetails.EdgeLocation.Builder clone()
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder
Overrides

getDefaultInstanceForType()

public ProbingDetails.EdgeLocation getDefaultInstanceForType()
Returns
TypeDescription
ProbingDetails.EdgeLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetropolitanArea()

public String getMetropolitanArea()

Name of the metropolitan area.

string metropolitan_area = 1;

Returns
TypeDescription
String

The metropolitanArea.

getMetropolitanAreaBytes()

public ByteString getMetropolitanAreaBytes()

Name of the metropolitan area.

string metropolitan_area = 1;

Returns
TypeDescription
ByteString

The bytes for metropolitanArea.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProbingDetails.EdgeLocation other)

public ProbingDetails.EdgeLocation.Builder mergeFrom(ProbingDetails.EdgeLocation other)
Parameter
NameDescription
otherProbingDetails.EdgeLocation
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetropolitanArea(String value)

public ProbingDetails.EdgeLocation.Builder setMetropolitanArea(String value)

Name of the metropolitan area.

string metropolitan_area = 1;

Parameter
NameDescription
valueString

The metropolitanArea to set.

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

The bytes for metropolitanArea to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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