public final class CloudSQLInstanceInfo extends GeneratedMessageV3 implements CloudSQLInstanceInfoOrBuilder
For display only. Metadata associated with a Cloud SQL instance.
Protobuf type google.cloud.networkmanagement.v1.CloudSQLInstanceInfo
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
EXTERNAL_IP_FIELD_NUMBER
public static final int EXTERNAL_IP_FIELD_NUMBER
Field Value
INTERNAL_IP_FIELD_NUMBER
public static final int INTERNAL_IP_FIELD_NUMBER
Field Value
NETWORK_URI_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
Field Value
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CloudSQLInstanceInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CloudSQLInstanceInfo.Builder newBuilder()
Returns
newBuilder(CloudSQLInstanceInfo prototype)
public static CloudSQLInstanceInfo.Builder newBuilder(CloudSQLInstanceInfo prototype)
Parameter
Returns
public static CloudSQLInstanceInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CloudSQLInstanceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CloudSQLInstanceInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudSQLInstanceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CloudSQLInstanceInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudSQLInstanceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudSQLInstanceInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CloudSQLInstanceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudSQLInstanceInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CloudSQLInstanceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CloudSQLInstanceInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudSQLInstanceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CloudSQLInstanceInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CloudSQLInstanceInfo getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
Name of a Cloud SQL instance.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a Cloud SQL instance.
string display_name = 1;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
getExternalIp()
public String getExternalIp()
External IP address of a Cloud SQL instance.
string external_ip = 6;
Returns
Type | Description |
String | The externalIp.
|
getExternalIpBytes()
public ByteString getExternalIpBytes()
External IP address of a Cloud SQL instance.
string external_ip = 6;
Returns
Type | Description |
ByteString | The bytes for externalIp.
|
getInternalIp()
public String getInternalIp()
Internal IP address of a Cloud SQL instance.
string internal_ip = 5;
Returns
Type | Description |
String | The internalIp.
|
getInternalIpBytes()
public ByteString getInternalIpBytes()
Internal IP address of a Cloud SQL instance.
string internal_ip = 5;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
ByteString | The bytes for networkUri.
|
getParserForType()
public Parser<CloudSQLInstanceInfo> getParserForType()
Returns
Overrides
getRegion()
public String getRegion()
Region in which the Cloud SQL instance is running.
string region = 7;
Returns
Type | Description |
String | The region.
|
getRegionBytes()
public ByteString getRegionBytes()
Region in which the Cloud SQL instance is running.
string region = 7;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUri()
URI of a Cloud SQL instance.
string uri = 2;
Returns
getUriBytes()
public ByteString getUriBytes()
URI of a Cloud SQL instance.
string uri = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CloudSQLInstanceInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudSQLInstanceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CloudSQLInstanceInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions