Class NetworkInfo (1.23.0)

public final class NetworkInfo extends GeneratedMessageV3 implements NetworkInfoOrBuilder

For display only. Metadata associated with a Compute Engine network.

Protobuf type google.cloud.networkmanagement.v1beta1.NetworkInfo

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

MATCHED_IP_RANGE_FIELD_NUMBER

public static final int MATCHED_IP_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkInfo getDefaultInstance()
Returns
TypeDescription
NetworkInfo

getDescriptor()

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

newBuilder()

public static NetworkInfo.Builder newBuilder()
Returns
TypeDescription
NetworkInfo.Builder

newBuilder(NetworkInfo prototype)

public static NetworkInfo.Builder newBuilder(NetworkInfo prototype)
Parameter
NameDescription
prototypeNetworkInfo
Returns
TypeDescription
NetworkInfo.Builder

parseDelimitedFrom(InputStream input)

public static NetworkInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static NetworkInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static NetworkInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static NetworkInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static NetworkInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<NetworkInfo> parser()
Returns
TypeDescription
Parser<NetworkInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NetworkInfo getDefaultInstanceForType()
Returns
TypeDescription
NetworkInfo

getDisplayName()

public String getDisplayName()

Name of a Compute Engine network.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine network.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getMatchedIpRange()

public String getMatchedIpRange()

The IP range that matches the test.

string matched_ip_range = 4;

Returns
TypeDescription
String

The matchedIpRange.

getMatchedIpRangeBytes()

public ByteString getMatchedIpRangeBytes()

The IP range that matches the test.

string matched_ip_range = 4;

Returns
TypeDescription
ByteString

The bytes for matchedIpRange.

getParserForType()

public Parser<NetworkInfo> getParserForType()
Returns
TypeDescription
Parser<NetworkInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

URI of a Compute Engine network.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine network.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

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 NetworkInfo.Builder newBuilderForType()
Returns
TypeDescription
NetworkInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public NetworkInfo.Builder toBuilder()
Returns
TypeDescription
NetworkInfo.Builder

writeTo(CodedOutputStream output)

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