public final class TestDatabaseConnectionResponse extends GeneratedMessage implements TestDatabaseConnectionResponseOrBuilder Response message for DatabaseConnection.TestDatabaseConnection.
Protobuf type google.cloud.oracledatabase.v1.TestDatabaseConnectionResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TestDatabaseConnectionResponseImplements
TestDatabaseConnectionResponseOrBuilderStatic Fields
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUCCESS_FIELD_NUMBER
public static final int SUCCESS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static TestDatabaseConnectionResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TestDatabaseConnectionResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse.Builder |
|
newBuilder(TestDatabaseConnectionResponse prototype)
public static TestDatabaseConnectionResponse.Builder newBuilder(TestDatabaseConnectionResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TestDatabaseConnectionResponse |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static TestDatabaseConnectionResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TestDatabaseConnectionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TestDatabaseConnectionResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TestDatabaseConnectionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TestDatabaseConnectionResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TestDatabaseConnectionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TestDatabaseConnectionResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TestDatabaseConnectionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TestDatabaseConnectionResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TestDatabaseConnectionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TestDatabaseConnectionResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TestDatabaseConnectionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TestDatabaseConnectionResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TestDatabaseConnectionResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public TestDatabaseConnectionResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse |
|
getErrorMessage()
public String getErrorMessage()Error message if the test connection failed.
string error_message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public ByteString getErrorMessageBytes()Error message if the test connection failed.
string error_message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMessage. |
getParserForType()
public Parser<TestDatabaseConnectionResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TestDatabaseConnectionResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSuccess()
public boolean getSuccess()Whether the test connection was successful.
bool success = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The success. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TestDatabaseConnectionResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TestDatabaseConnectionResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse.Builder |
|
toBuilder()
public TestDatabaseConnectionResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TestDatabaseConnectionResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|