Class NetworkInfo (0.16.0)

public final class NetworkInfo extends GeneratedMessageV3 implements NetworkInfoOrBuilder

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

Protobuf type google.events.cloud.networkmanagement.v1.NetworkInfo

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

MATCHED_IP_RANGE_FIELD_NUMBER

public static final int MATCHED_IP_RANGE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkInfo getDefaultInstance()
Returns
Type Description
NetworkInfo

getDescriptor()

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

newBuilder()

public static NetworkInfo.Builder newBuilder()
Returns
Type Description
NetworkInfo.Builder

newBuilder(NetworkInfo prototype)

public static NetworkInfo.Builder newBuilder(NetworkInfo prototype)
Parameter
Name Description
prototype NetworkInfo
Returns
Type Description
NetworkInfo.Builder

parseDelimitedFrom(InputStream input)

public static NetworkInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkInfo> parser()
Returns
Type Description
Parser<NetworkInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NetworkInfo getDefaultInstanceForType()
Returns
Type Description
NetworkInfo

getDisplayName()

public String getDisplayName()

Name of a Compute Engine network.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine network.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getMatchedIpRange()

public String getMatchedIpRange()

The IP range that matches the test.

string matched_ip_range = 4;

Returns
Type Description
String

The matchedIpRange.

getMatchedIpRangeBytes()

public ByteString getMatchedIpRangeBytes()

The IP range that matches the test.

string matched_ip_range = 4;

Returns
Type Description
ByteString

The bytes for matchedIpRange.

getParserForType()

public Parser<NetworkInfo> getParserForType()
Returns
Type Description
Parser<NetworkInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUri()

public String getUri()

URI of a Compute Engine network.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine network.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkInfo.Builder newBuilderForType()
Returns
Type Description
NetworkInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkInfo.Builder toBuilder()
Returns
Type Description
NetworkInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException