yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/serverless/apigateway/websocket/v1/connection.proto
package yandex.cloud.api.serverless.apigateway.websocket.v1;
public final class ConnectionOuterClass {
private ConnectionOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ConnectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.serverless.apigateway.websocket.v1.Connection)
com.google.protobuf.MessageOrBuilder {
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return The gatewayId.
*/
java.lang.String getGatewayId();
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return The bytes for gatewayId.
*/
com.google.protobuf.ByteString
getGatewayIdBytes();
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
* @return Whether the identity field is set.
*/
boolean hasIdentity();
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
* @return The identity.
*/
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity getIdentity();
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder getIdentityOrBuilder();
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
* @return Whether the connectedAt field is set.
*/
boolean hasConnectedAt();
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
* @return The connectedAt.
*/
com.google.protobuf.Timestamp getConnectedAt();
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
com.google.protobuf.TimestampOrBuilder getConnectedAtOrBuilder();
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
* @return Whether the lastActiveAt field is set.
*/
boolean hasLastActiveAt();
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
* @return The lastActiveAt.
*/
com.google.protobuf.Timestamp getLastActiveAt();
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
com.google.protobuf.TimestampOrBuilder getLastActiveAtOrBuilder();
}
/**
* Protobuf type {@code yandex.cloud.serverless.apigateway.websocket.v1.Connection}
*/
public static final class Connection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.serverless.apigateway.websocket.v1.Connection)
ConnectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Connection.newBuilder() to construct.
private Connection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Connection() {
id_ = "";
gatewayId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Connection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Connection(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
gatewayId_ = s;
break;
}
case 26: {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder subBuilder = null;
if (identity_ != null) {
subBuilder = identity_.toBuilder();
}
identity_ = input.readMessage(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(identity_);
identity_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (connectedAt_ != null) {
subBuilder = connectedAt_.toBuilder();
}
connectedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connectedAt_);
connectedAt_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (lastActiveAt_ != null) {
subBuilder = lastActiveAt_.toBuilder();
}
lastActiveAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lastActiveAt_);
lastActiveAt_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.class, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GATEWAY_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object gatewayId_;
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return The gatewayId.
*/
@java.lang.Override
public java.lang.String getGatewayId() {
java.lang.Object ref = gatewayId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gatewayId_ = s;
return s;
}
}
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return The bytes for gatewayId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGatewayIdBytes() {
java.lang.Object ref = gatewayId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gatewayId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IDENTITY_FIELD_NUMBER = 3;
private yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity identity_;
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
* @return Whether the identity field is set.
*/
@java.lang.Override
public boolean hasIdentity() {
return identity_ != null;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
* @return The identity.
*/
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity getIdentity() {
return identity_ == null ? yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.getDefaultInstance() : identity_;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder getIdentityOrBuilder() {
return getIdentity();
}
public static final int CONNECTED_AT_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp connectedAt_;
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
* @return Whether the connectedAt field is set.
*/
@java.lang.Override
public boolean hasConnectedAt() {
return connectedAt_ != null;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
* @return The connectedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getConnectedAt() {
return connectedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : connectedAt_;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getConnectedAtOrBuilder() {
return getConnectedAt();
}
public static final int LAST_ACTIVE_AT_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp lastActiveAt_;
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
* @return Whether the lastActiveAt field is set.
*/
@java.lang.Override
public boolean hasLastActiveAt() {
return lastActiveAt_ != null;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
* @return The lastActiveAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getLastActiveAt() {
return lastActiveAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastActiveAt_;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getLastActiveAtOrBuilder() {
return getLastActiveAt();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gatewayId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, gatewayId_);
}
if (identity_ != null) {
output.writeMessage(3, getIdentity());
}
if (connectedAt_ != null) {
output.writeMessage(4, getConnectedAt());
}
if (lastActiveAt_ != null) {
output.writeMessage(5, getLastActiveAt());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gatewayId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, gatewayId_);
}
if (identity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getIdentity());
}
if (connectedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getConnectedAt());
}
if (lastActiveAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getLastActiveAt());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection)) {
return super.equals(obj);
}
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection other = (yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getGatewayId()
.equals(other.getGatewayId())) return false;
if (hasIdentity() != other.hasIdentity()) return false;
if (hasIdentity()) {
if (!getIdentity()
.equals(other.getIdentity())) return false;
}
if (hasConnectedAt() != other.hasConnectedAt()) return false;
if (hasConnectedAt()) {
if (!getConnectedAt()
.equals(other.getConnectedAt())) return false;
}
if (hasLastActiveAt() != other.hasLastActiveAt()) return false;
if (hasLastActiveAt()) {
if (!getLastActiveAt()
.equals(other.getLastActiveAt())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + GATEWAY_ID_FIELD_NUMBER;
hash = (53 * hash) + getGatewayId().hashCode();
if (hasIdentity()) {
hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
hash = (53 * hash) + getIdentity().hashCode();
}
if (hasConnectedAt()) {
hash = (37 * hash) + CONNECTED_AT_FIELD_NUMBER;
hash = (53 * hash) + getConnectedAt().hashCode();
}
if (hasLastActiveAt()) {
hash = (37 * hash) + LAST_ACTIVE_AT_FIELD_NUMBER;
hash = (53 * hash) + getLastActiveAt().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yandex.cloud.serverless.apigateway.websocket.v1.Connection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.serverless.apigateway.websocket.v1.Connection)
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.ConnectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.class, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.Builder.class);
}
// Construct using yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = "";
gatewayId_ = "";
if (identityBuilder_ == null) {
identity_ = null;
} else {
identity_ = null;
identityBuilder_ = null;
}
if (connectedAtBuilder_ == null) {
connectedAt_ = null;
} else {
connectedAt_ = null;
connectedAtBuilder_ = null;
}
if (lastActiveAtBuilder_ == null) {
lastActiveAt_ = null;
} else {
lastActiveAt_ = null;
lastActiveAtBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_descriptor;
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection getDefaultInstanceForType() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection build() {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection buildPartial() {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection result = new yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection(this);
result.id_ = id_;
result.gatewayId_ = gatewayId_;
if (identityBuilder_ == null) {
result.identity_ = identity_;
} else {
result.identity_ = identityBuilder_.build();
}
if (connectedAtBuilder_ == null) {
result.connectedAt_ = connectedAt_;
} else {
result.connectedAt_ = connectedAtBuilder_.build();
}
if (lastActiveAtBuilder_ == null) {
result.lastActiveAt_ = lastActiveAt_;
} else {
result.lastActiveAt_ = lastActiveAtBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection) {
return mergeFrom((yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection other) {
if (other == yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getGatewayId().isEmpty()) {
gatewayId_ = other.gatewayId_;
onChanged();
}
if (other.hasIdentity()) {
mergeIdentity(other.getIdentity());
}
if (other.hasConnectedAt()) {
mergeConnectedAt(other.getConnectedAt());
}
if (other.hasLastActiveAt()) {
mergeLastActiveAt(other.getLastActiveAt());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the connection.
*
*
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* ID of the connection.
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* ID of the connection.
*
*
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object gatewayId_ = "";
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return The gatewayId.
*/
public java.lang.String getGatewayId() {
java.lang.Object ref = gatewayId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gatewayId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return The bytes for gatewayId.
*/
public com.google.protobuf.ByteString
getGatewayIdBytes() {
java.lang.Object ref = gatewayId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gatewayId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @param value The gatewayId to set.
* @return This builder for chaining.
*/
public Builder setGatewayId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gatewayId_ = value;
onChanged();
return this;
}
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @return This builder for chaining.
*/
public Builder clearGatewayId() {
gatewayId_ = getDefaultInstance().getGatewayId();
onChanged();
return this;
}
/**
*
* ID of the API Gateway.
*
*
* string gateway_id = 2;
* @param value The bytes for gatewayId to set.
* @return This builder for chaining.
*/
public Builder setGatewayIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gatewayId_ = value;
onChanged();
return this;
}
private yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity identity_;
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder> identityBuilder_;
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
* @return Whether the identity field is set.
*/
public boolean hasIdentity() {
return identityBuilder_ != null || identity_ != null;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
* @return The identity.
*/
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity getIdentity() {
if (identityBuilder_ == null) {
return identity_ == null ? yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.getDefaultInstance() : identity_;
} else {
return identityBuilder_.getMessage();
}
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
public Builder setIdentity(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity value) {
if (identityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
identity_ = value;
onChanged();
} else {
identityBuilder_.setMessage(value);
}
return this;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
public Builder setIdentity(
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder builderForValue) {
if (identityBuilder_ == null) {
identity_ = builderForValue.build();
onChanged();
} else {
identityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
public Builder mergeIdentity(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity value) {
if (identityBuilder_ == null) {
if (identity_ != null) {
identity_ =
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.newBuilder(identity_).mergeFrom(value).buildPartial();
} else {
identity_ = value;
}
onChanged();
} else {
identityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
public Builder clearIdentity() {
if (identityBuilder_ == null) {
identity_ = null;
onChanged();
} else {
identity_ = null;
identityBuilder_ = null;
}
return this;
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder getIdentityBuilder() {
onChanged();
return getIdentityFieldBuilder().getBuilder();
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder getIdentityOrBuilder() {
if (identityBuilder_ != null) {
return identityBuilder_.getMessageOrBuilder();
} else {
return identity_ == null ?
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.getDefaultInstance() : identity_;
}
}
/**
*
* The information about the caller making the request to API Gateway.
*
*
* .yandex.cloud.serverless.apigateway.websocket.v1.Identity identity = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder>
getIdentityFieldBuilder() {
if (identityBuilder_ == null) {
identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder>(
getIdentity(),
getParentForChildren(),
isClean());
identity_ = null;
}
return identityBuilder_;
}
private com.google.protobuf.Timestamp connectedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> connectedAtBuilder_;
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
* @return Whether the connectedAt field is set.
*/
public boolean hasConnectedAt() {
return connectedAtBuilder_ != null || connectedAt_ != null;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
* @return The connectedAt.
*/
public com.google.protobuf.Timestamp getConnectedAt() {
if (connectedAtBuilder_ == null) {
return connectedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : connectedAt_;
} else {
return connectedAtBuilder_.getMessage();
}
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
public Builder setConnectedAt(com.google.protobuf.Timestamp value) {
if (connectedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connectedAt_ = value;
onChanged();
} else {
connectedAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
public Builder setConnectedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (connectedAtBuilder_ == null) {
connectedAt_ = builderForValue.build();
onChanged();
} else {
connectedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
public Builder mergeConnectedAt(com.google.protobuf.Timestamp value) {
if (connectedAtBuilder_ == null) {
if (connectedAt_ != null) {
connectedAt_ =
com.google.protobuf.Timestamp.newBuilder(connectedAt_).mergeFrom(value).buildPartial();
} else {
connectedAt_ = value;
}
onChanged();
} else {
connectedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
public Builder clearConnectedAt() {
if (connectedAtBuilder_ == null) {
connectedAt_ = null;
onChanged();
} else {
connectedAt_ = null;
connectedAtBuilder_ = null;
}
return this;
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
public com.google.protobuf.Timestamp.Builder getConnectedAtBuilder() {
onChanged();
return getConnectedAtFieldBuilder().getBuilder();
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
public com.google.protobuf.TimestampOrBuilder getConnectedAtOrBuilder() {
if (connectedAtBuilder_ != null) {
return connectedAtBuilder_.getMessageOrBuilder();
} else {
return connectedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : connectedAt_;
}
}
/**
*
* The timestamp at which connection was established.
*
*
* .google.protobuf.Timestamp connected_at = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getConnectedAtFieldBuilder() {
if (connectedAtBuilder_ == null) {
connectedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getConnectedAt(),
getParentForChildren(),
isClean());
connectedAt_ = null;
}
return connectedAtBuilder_;
}
private com.google.protobuf.Timestamp lastActiveAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastActiveAtBuilder_;
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
* @return Whether the lastActiveAt field is set.
*/
public boolean hasLastActiveAt() {
return lastActiveAtBuilder_ != null || lastActiveAt_ != null;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
* @return The lastActiveAt.
*/
public com.google.protobuf.Timestamp getLastActiveAt() {
if (lastActiveAtBuilder_ == null) {
return lastActiveAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastActiveAt_;
} else {
return lastActiveAtBuilder_.getMessage();
}
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
public Builder setLastActiveAt(com.google.protobuf.Timestamp value) {
if (lastActiveAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lastActiveAt_ = value;
onChanged();
} else {
lastActiveAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
public Builder setLastActiveAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (lastActiveAtBuilder_ == null) {
lastActiveAt_ = builderForValue.build();
onChanged();
} else {
lastActiveAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
public Builder mergeLastActiveAt(com.google.protobuf.Timestamp value) {
if (lastActiveAtBuilder_ == null) {
if (lastActiveAt_ != null) {
lastActiveAt_ =
com.google.protobuf.Timestamp.newBuilder(lastActiveAt_).mergeFrom(value).buildPartial();
} else {
lastActiveAt_ = value;
}
onChanged();
} else {
lastActiveAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
public Builder clearLastActiveAt() {
if (lastActiveAtBuilder_ == null) {
lastActiveAt_ = null;
onChanged();
} else {
lastActiveAt_ = null;
lastActiveAtBuilder_ = null;
}
return this;
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
public com.google.protobuf.Timestamp.Builder getLastActiveAtBuilder() {
onChanged();
return getLastActiveAtFieldBuilder().getBuilder();
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
public com.google.protobuf.TimestampOrBuilder getLastActiveAtOrBuilder() {
if (lastActiveAtBuilder_ != null) {
return lastActiveAtBuilder_.getMessageOrBuilder();
} else {
return lastActiveAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : lastActiveAt_;
}
}
/**
*
* The timestamp at which connection was last accessed.
*
*
* .google.protobuf.Timestamp last_active_at = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getLastActiveAtFieldBuilder() {
if (lastActiveAtBuilder_ == null) {
lastActiveAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getLastActiveAt(),
getParentForChildren(),
isClean());
lastActiveAt_ = null;
}
return lastActiveAtBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yandex.cloud.serverless.apigateway.websocket.v1.Connection)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.serverless.apigateway.websocket.v1.Connection)
private static final yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection();
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Connection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Connection(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Connection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IdentityOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.serverless.apigateway.websocket.v1.Identity)
com.google.protobuf.MessageOrBuilder {
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return The sourceIp.
*/
java.lang.String getSourceIp();
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return The bytes for sourceIp.
*/
com.google.protobuf.ByteString
getSourceIpBytes();
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return The userAgent.
*/
java.lang.String getUserAgent();
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return The bytes for userAgent.
*/
com.google.protobuf.ByteString
getUserAgentBytes();
}
/**
* Protobuf type {@code yandex.cloud.serverless.apigateway.websocket.v1.Identity}
*/
public static final class Identity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.serverless.apigateway.websocket.v1.Identity)
IdentityOrBuilder {
private static final long serialVersionUID = 0L;
// Use Identity.newBuilder() to construct.
private Identity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Identity() {
sourceIp_ = "";
userAgent_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Identity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Identity(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
sourceIp_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
userAgent_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.class, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder.class);
}
public static final int SOURCE_IP_FIELD_NUMBER = 1;
private volatile java.lang.Object sourceIp_;
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return The sourceIp.
*/
@java.lang.Override
public java.lang.String getSourceIp() {
java.lang.Object ref = sourceIp_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sourceIp_ = s;
return s;
}
}
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return The bytes for sourceIp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceIpBytes() {
java.lang.Object ref = sourceIp_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceIp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_AGENT_FIELD_NUMBER = 2;
private volatile java.lang.Object userAgent_;
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return The userAgent.
*/
@java.lang.Override
public java.lang.String getUserAgent() {
java.lang.Object ref = userAgent_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
userAgent_ = s;
return s;
}
}
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return The bytes for userAgent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserAgentBytes() {
java.lang.Object ref = userAgent_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userAgent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceIp_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceIp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userAgent_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceIp_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceIp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userAgent_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity)) {
return super.equals(obj);
}
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity other = (yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity) obj;
if (!getSourceIp()
.equals(other.getSourceIp())) return false;
if (!getUserAgent()
.equals(other.getUserAgent())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SOURCE_IP_FIELD_NUMBER;
hash = (53 * hash) + getSourceIp().hashCode();
hash = (37 * hash) + USER_AGENT_FIELD_NUMBER;
hash = (53 * hash) + getUserAgent().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yandex.cloud.serverless.apigateway.websocket.v1.Identity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.serverless.apigateway.websocket.v1.Identity)
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.IdentityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.class, yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.Builder.class);
}
// Construct using yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sourceIp_ = "";
userAgent_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_descriptor;
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity getDefaultInstanceForType() {
return yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity build() {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity buildPartial() {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity result = new yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity(this);
result.sourceIp_ = sourceIp_;
result.userAgent_ = userAgent_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity) {
return mergeFrom((yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity other) {
if (other == yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity.getDefaultInstance()) return this;
if (!other.getSourceIp().isEmpty()) {
sourceIp_ = other.sourceIp_;
onChanged();
}
if (!other.getUserAgent().isEmpty()) {
userAgent_ = other.userAgent_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object sourceIp_ = "";
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return The sourceIp.
*/
public java.lang.String getSourceIp() {
java.lang.Object ref = sourceIp_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sourceIp_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return The bytes for sourceIp.
*/
public com.google.protobuf.ByteString
getSourceIpBytes() {
java.lang.Object ref = sourceIp_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceIp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @param value The sourceIp to set.
* @return This builder for chaining.
*/
public Builder setSourceIp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sourceIp_ = value;
onChanged();
return this;
}
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @return This builder for chaining.
*/
public Builder clearSourceIp() {
sourceIp_ = getDefaultInstance().getSourceIp();
onChanged();
return this;
}
/**
*
* The source IP address of the caller making the request to API Gateway.
*
*
* string source_ip = 1;
* @param value The bytes for sourceIp to set.
* @return This builder for chaining.
*/
public Builder setSourceIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sourceIp_ = value;
onChanged();
return this;
}
private java.lang.Object userAgent_ = "";
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return The userAgent.
*/
public java.lang.String getUserAgent() {
java.lang.Object ref = userAgent_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
userAgent_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return The bytes for userAgent.
*/
public com.google.protobuf.ByteString
getUserAgentBytes() {
java.lang.Object ref = userAgent_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userAgent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @param value The userAgent to set.
* @return This builder for chaining.
*/
public Builder setUserAgent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
userAgent_ = value;
onChanged();
return this;
}
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @return This builder for chaining.
*/
public Builder clearUserAgent() {
userAgent_ = getDefaultInstance().getUserAgent();
onChanged();
return this;
}
/**
*
* The User Agent of the caller making the request to API Gateway.
*
*
* string user_agent = 2;
* @param value The bytes for userAgent to set.
* @return This builder for chaining.
*/
public Builder setUserAgentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
userAgent_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yandex.cloud.serverless.apigateway.websocket.v1.Identity)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.serverless.apigateway.websocket.v1.Identity)
private static final yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity();
}
public static yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Identity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Identity(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public yandex.cloud.api.serverless.apigateway.websocket.v1.ConnectionOuterClass.Identity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n@yandex/cloud/serverless/apigateway/web" +
"socket/v1/connection.proto\022/yandex.cloud" +
".serverless.apigateway.websocket.v1\032\037goo" +
"gle/protobuf/timestamp.proto\"\337\001\n\nConnect" +
"ion\022\n\n\002id\030\001 \001(\t\022\022\n\ngateway_id\030\002 \001(\t\022K\n\010i" +
"dentity\030\003 \001(\01329.yandex.cloud.serverless." +
"apigateway.websocket.v1.Identity\0220\n\014conn" +
"ected_at\030\004 \001(\0132\032.google.protobuf.Timesta" +
"mp\0222\n\016last_active_at\030\005 \001(\0132\032.google.prot" +
"obuf.Timestamp\"1\n\010Identity\022\021\n\tsource_ip\030" +
"\001 \001(\t\022\022\n\nuser_agent\030\002 \001(\tB\224\001\n3yandex.clo" +
"ud.api.serverless.apigateway.websocket.v" +
"1Z]github.com/yandex-cloud/go-genproto/y" +
"andex/cloud/serverless/apigateway/websoc" +
"ket/v1;websocketb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Connection_descriptor,
new java.lang.String[] { "Id", "GatewayId", "Identity", "ConnectedAt", "LastActiveAt", });
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_serverless_apigateway_websocket_v1_Identity_descriptor,
new java.lang.String[] { "SourceIp", "UserAgent", });
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy