public Common.AvaticaParameter toProto() { Common.AvaticaParameter.Builder builder = Common.AvaticaParameter.newBuilder(); builder.setSigned(signed); builder.setPrecision(precision); builder.setScale(scale); builder.setParameterType(parameterType); builder.setTypeName(typeName); builder.setClassName(className); builder.setName(name); return builder.build(); }
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>string connection_id = 3;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>string schema_pattern = 2;</code> */ public Builder clearSchemaPattern() { schemaPattern_ = getDefaultInstance().getSchemaPattern(); onChanged(); return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>string table_name_pattern = 3;</code> */ public Builder clearTableNamePattern() { tableNamePattern_ = getDefaultInstance().getTableNamePattern(); onChanged(); return this; } /**
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.TypeInfoRequest build() { org.apache.calcite.avatica.proto.Requests.TypeInfoRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>string schema = 6;</code> */ public Builder clearSchema() { schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /**
@java.lang.Override public org.apache.calcite.avatica.proto.Common.Signature build() { org.apache.calcite.avatica.proto.Common.Signature result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>string sql = 2;</code> */ public Builder clearSql() { sql_ = getDefaultInstance().getSql(); onChanged(); return this; } /**
@java.lang.Override public org.apache.calcite.avatica.proto.Common.DatabaseProperty build() { org.apache.calcite.avatica.proto.Common.DatabaseProperty result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Common.WireMessage build() { org.apache.calcite.avatica.proto.Common.WireMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>string string_value = 1;</code> */ public Builder clearStringValue() { stringValue_ = getDefaultInstance().getStringValue(); onChanged(); return this; } /**
@java.lang.Override public org.apache.calcite.avatica.proto.Common.QueryState build() { org.apache.calcite.avatica.proto.Common.QueryState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.TableTypesRequest buildPartial() { org.apache.calcite.avatica.proto.Requests.TableTypesRequest result = new org.apache.calcite.avatica.proto.Requests.TableTypesRequest(this); result.connectionId_ = connectionId_; onBuilt(); return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.CloseStatementRequest buildPartial() { org.apache.calcite.avatica.proto.Requests.CloseStatementRequest result = new org.apache.calcite.avatica.proto.Requests.CloseStatementRequest(this); result.connectionId_ = connectionId_; result.statementId_ = statementId_; onBuilt(); return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.CloseConnectionRequest buildPartial() { org.apache.calcite.avatica.proto.Requests.CloseConnectionRequest result = new org.apache.calcite.avatica.proto.Requests.CloseConnectionRequest(this); result.connectionId_ = connectionId_; onBuilt(); return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.CommitRequest buildPartial() { org.apache.calcite.avatica.proto.Requests.CommitRequest result = new org.apache.calcite.avatica.proto.Requests.CommitRequest(this); result.connectionId_ = connectionId_; onBuilt(); return result; }