Class GoogleServiceInfo (1.28.0)

public final class GoogleServiceInfo extends GeneratedMessageV3 implements GoogleServiceInfoOrBuilder

For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths

Protobuf type google.cloud.networkmanagement.v1.GoogleServiceInfo

Static Fields

GOOGLE_SERVICE_TYPE_FIELD_NUMBER

public static final int GOOGLE_SERVICE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_IP_FIELD_NUMBER

public static final int SOURCE_IP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GoogleServiceInfo getDefaultInstance()
Returns
TypeDescription
GoogleServiceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(GoogleServiceInfo prototype)

public static GoogleServiceInfo.Builder newBuilder(GoogleServiceInfo prototype)
Parameter
NameDescription
prototypeGoogleServiceInfo
Returns
TypeDescription
GoogleServiceInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GoogleServiceInfo getDefaultInstanceForType()
Returns
TypeDescription
GoogleServiceInfo

getGoogleServiceType()

public GoogleServiceInfo.GoogleServiceType getGoogleServiceType()

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Returns
TypeDescription
GoogleServiceInfo.GoogleServiceType

The googleServiceType.

getGoogleServiceTypeValue()

public int getGoogleServiceTypeValue()

Recognized type of a Google Service.

.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for googleServiceType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceIp()

public String getSourceIp()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
String

The sourceIp.

getSourceIpBytes()

public ByteString getSourceIpBytes()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
ByteString

The bytes for sourceIp.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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