Class GoogleServiceInfo (1.48.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.v1beta1.GoogleServiceInfo

Static Fields

GOOGLE_SERVICE_TYPE_FIELD_NUMBER

public static final int GOOGLE_SERVICE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_IP_FIELD_NUMBER

public static final int SOURCE_IP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GoogleServiceInfo getDefaultInstance()
Returns
Type Description
GoogleServiceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(GoogleServiceInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GoogleServiceInfo getDefaultInstanceForType()
Returns
Type Description
GoogleServiceInfo

getGoogleServiceType()

public GoogleServiceInfo.GoogleServiceType getGoogleServiceType()

Recognized type of a Google Service.

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

Returns
Type Description
GoogleServiceInfo.GoogleServiceType

The googleServiceType.

getGoogleServiceTypeValue()

public int getGoogleServiceTypeValue()

Recognized type of a Google Service.

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

Returns
Type Description
int

The enum numeric value on the wire for googleServiceType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceIp()

public String getSourceIp()

Source IP address.

string source_ip = 1;

Returns
Type Description
String

The sourceIp.

getSourceIpBytes()

public ByteString getSourceIpBytes()

Source IP address.

string source_ip = 1;

Returns
Type Description
ByteString

The bytes for sourceIp.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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