public final class ConnectionAttempt extends GeneratedMessageV3 implements ConnectionAttemptOrBuilderAggregated metrics for connection attempts.
Protobuf type google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GeneratedMessage.ExtendableMessage<MessageType> > GeneratedMessageV3 > ConnectionAttemptImplements
ConnectionAttemptOrBuilderStatic Fields
AUTH_TYPE_FIELD_NUMBER
public static final int AUTH_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ConnectionAttempt getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ConnectionAttempt.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
newBuilder(ConnectionAttempt prototype)
public static ConnectionAttempt.Builder newBuilder(ConnectionAttempt prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ConnectionAttempt |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
parseDelimitedFrom(InputStream input)
public static ConnectionAttempt parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConnectionAttempt parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ConnectionAttempt parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConnectionAttempt parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ConnectionAttempt parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectionAttempt parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ConnectionAttempt parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConnectionAttempt parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ConnectionAttempt parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConnectionAttempt parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ConnectionAttempt parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConnectionAttempt parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ConnectionAttempt> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ConnectionAttempt> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAuthType()
public AuthenticationType getAuthType().google.cloud.bigquery.jdbc.telemetry.v1.AuthenticationType auth_type = 3;
| Returns | |
|---|---|
| Type | Description |
AuthenticationType |
The authType. |
getAuthTypeValue()
public int getAuthTypeValue().google.cloud.bigquery.jdbc.telemetry.v1.AuthenticationType auth_type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for authType. |
getCount()
public long getCount()int64 count = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public ConnectionAttempt getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
getErrorCode()
public int getErrorCode()int32 error_code = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The errorCode. |
getParserForType()
public Parser<ConnectionAttempt> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ConnectionAttempt> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStatus()
public Status getStatus().google.cloud.bigquery.jdbc.telemetry.v1.Status status = 1;
| Returns | |
|---|---|
| Type | Description |
Status |
The status. |
getStatusValue()
public int getStatusValue().google.cloud.bigquery.jdbc.telemetry.v1.Status status = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ConnectionAttempt.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConnectionAttempt.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)| Parameter | |
|---|---|
| Name | Description |
unused |
UnusedPrivateParameter |
| Returns | |
|---|---|
| Type | Description |
Object |
|
toBuilder()
public ConnectionAttempt.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|