public static final class ConnectionAttempt.Builder extends GeneratedMessageV3.Builder<ConnectionAttempt.Builder> implements ConnectionAttemptOrBuilderAggregated metrics for connection attempts.
Protobuf type google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder<BuilderType> > GeneratedMessage.ExtendableBuilder<MessageType,BuilderType> > GeneratedMessageV3.Builder > ConnectionAttempt.BuilderImplements
ConnectionAttemptOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionAttempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
build()
public ConnectionAttempt build()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
buildPartial()
public ConnectionAttempt buildPartial()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt |
|
clear()
public ConnectionAttempt.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
clearAuthType()
public ConnectionAttempt.Builder clearAuthType().google.cloud.bigquery.jdbc.telemetry.v1.AuthenticationType auth_type = 3;
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
clearCount()
public ConnectionAttempt.Builder clearCount()int64 count = 4;
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
clearErrorCode()
public ConnectionAttempt.Builder clearErrorCode()int32 error_code = 2;
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConnectionAttempt.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionAttempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
clearStatus()
public ConnectionAttempt.Builder clearStatus().google.cloud.bigquery.jdbc.telemetry.v1.Status status = 1;
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
clone()
public ConnectionAttempt.Builder clone()| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorCode()
public int getErrorCode()int32 error_code = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The errorCode. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConnectionAttempt other)
public ConnectionAttempt.Builder mergeFrom(ConnectionAttempt other)| Parameter | |
|---|---|
| Name | Description |
other |
ConnectionAttempt |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionAttempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConnectionAttempt.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionAttempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
setAuthType(AuthenticationType value)
public ConnectionAttempt.Builder setAuthType(AuthenticationType value).google.cloud.bigquery.jdbc.telemetry.v1.AuthenticationType auth_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
AuthenticationTypeThe authType to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
setAuthTypeValue(int value)
public ConnectionAttempt.Builder setAuthTypeValue(int value).google.cloud.bigquery.jdbc.telemetry.v1.AuthenticationType auth_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for authType to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
setCount(long value)
public ConnectionAttempt.Builder setCount(long value)int64 count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
setErrorCode(int value)
public ConnectionAttempt.Builder setErrorCode(int value)int32 error_code = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe errorCode to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionAttempt.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionAttempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|
setStatus(Status value)
public ConnectionAttempt.Builder setStatus(Status value).google.cloud.bigquery.jdbc.telemetry.v1.Status status = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
setStatusValue(int value)
public ConnectionAttempt.Builder setStatusValue(int value).google.cloud.bigquery.jdbc.telemetry.v1.Status status = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionAttempt.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ConnectionAttempt.Builder |
|