Class CloudSQLInstanceInfo (0.14.1)

public final class CloudSQLInstanceInfo extends GeneratedMessageV3 implements CloudSQLInstanceInfoOrBuilder

For display only. Metadata associated with a Cloud SQL instance.

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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EXTERNAL_IP_FIELD_NUMBER

public static final int EXTERNAL_IP_FIELD_NUMBER
Field Value
TypeDescription
int

INTERNAL_IP_FIELD_NUMBER

public static final int INTERNAL_IP_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_URI_FIELD_NUMBER

public static final int NETWORK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_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 CloudSQLInstanceInfo getDefaultInstance()
Returns
TypeDescription
CloudSQLInstanceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(CloudSQLInstanceInfo prototype)

public static CloudSQLInstanceInfo.Builder newBuilder(CloudSQLInstanceInfo prototype)
Parameter
NameDescription
prototypeCloudSQLInstanceInfo
Returns
TypeDescription
CloudSQLInstanceInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CloudSQLInstanceInfo getDefaultInstanceForType()
Returns
TypeDescription
CloudSQLInstanceInfo

getDisplayName()

public String getDisplayName()

Name of a Cloud SQL instance.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud SQL instance.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getExternalIp()

public String getExternalIp()

External IP address of a Cloud SQL instance.

string external_ip = 6;

Returns
TypeDescription
String

The externalIp.

getExternalIpBytes()

public ByteString getExternalIpBytes()

External IP address of a Cloud SQL instance.

string external_ip = 6;

Returns
TypeDescription
ByteString

The bytes for externalIp.

getInternalIp()

public String getInternalIp()

Internal IP address of a Cloud SQL instance.

string internal_ip = 5;

Returns
TypeDescription
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Internal IP address of a Cloud SQL instance.

string internal_ip = 5;

Returns
TypeDescription
ByteString

The bytes for internalIp.

getNetworkUri()

public String getNetworkUri()

URI of a Cloud SQL instance network or empty string if the instance does not have one.

string network_uri = 4;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

URI of a Cloud SQL instance network or empty string if the instance does not have one.

string network_uri = 4;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getParserForType()

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

getRegion()

public String getRegion()

Region in which the Cloud SQL instance is running.

string region = 7;

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Region in which the Cloud SQL instance is running.

string region = 7;

Returns
TypeDescription
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUri()

public String getUri()

URI of a Cloud SQL instance.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud SQL instance.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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