Class ProbingDetails.EdgeLocation (1.37.0)

public static final class ProbingDetails.EdgeLocation extends GeneratedMessageV3 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 Fields

METROPOLITAN_AREA_FIELD_NUMBER

public static final int METROPOLITAN_AREA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProbingDetails.EdgeLocation getDefaultInstance()
Returns
TypeDescription
ProbingDetails.EdgeLocation

getDescriptor()

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

newBuilder()

public static ProbingDetails.EdgeLocation.Builder newBuilder()
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder

newBuilder(ProbingDetails.EdgeLocation prototype)

public static ProbingDetails.EdgeLocation.Builder newBuilder(ProbingDetails.EdgeLocation prototype)
Parameter
NameDescription
prototypeProbingDetails.EdgeLocation
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder

parseDelimitedFrom(InputStream input)

public static ProbingDetails.EdgeLocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProbingDetails.EdgeLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProbingDetails.EdgeLocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProbingDetails.EdgeLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProbingDetails.EdgeLocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProbingDetails.EdgeLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProbingDetails.EdgeLocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProbingDetails.EdgeLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProbingDetails.EdgeLocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProbingDetails.EdgeLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProbingDetails.EdgeLocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProbingDetails.EdgeLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProbingDetails.EdgeLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProbingDetails.EdgeLocation> parser()
Returns
TypeDescription
Parser<EdgeLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<ProbingDetails.EdgeLocation> getParserForType()
Returns
TypeDescription
Parser<EdgeLocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProbingDetails.EdgeLocation.Builder newBuilderForType()
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProbingDetails.EdgeLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProbingDetails.EdgeLocation.Builder toBuilder()
Returns
TypeDescription
ProbingDetails.EdgeLocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException