All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.io.deephaven.proto.backplane.grpc.FieldInfo Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deephaven/proto/application.proto

// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;

/**
 * 
 *
 * A lightweight object describing the exposed field.
 * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.FieldInfo} */ public final class FieldInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.FieldInfo) FieldInfoOrBuilder { private static final long serialVersionUID = 0L; // Use FieldInfo.newBuilder() to construct. private FieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FieldInfo() { fieldName_ = ""; fieldDescription_ = ""; applicationName_ = ""; applicationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FieldInfo(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Application.internal_static_io_deephaven_proto_backplane_grpc_FieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Application.internal_static_io_deephaven_proto_backplane_grpc_FieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.FieldInfo.class, io.deephaven.proto.backplane.grpc.FieldInfo.Builder.class); } private int bitField0_; public static final int TYPED_TICKET_FIELD_NUMBER = 1; private io.deephaven.proto.backplane.grpc.TypedTicket typedTicket_; /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; * @return Whether the typedTicket field is set. */ @java.lang.Override public boolean hasTypedTicket() { return ((bitField0_ & 0x00000001) != 0); } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; * @return The typedTicket. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TypedTicket getTypedTicket() { return typedTicket_ == null ? io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance() : typedTicket_; } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder getTypedTicketOrBuilder() { return typedTicket_ == null ? io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance() : typedTicket_; } public static final int FIELD_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** * string field_name = 2; * @return The fieldName. */ @java.lang.Override public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; 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(); fieldName_ = s; return s; } } /** * string field_name = 2; * @return The bytes for fieldName. */ @java.lang.Override public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIELD_DESCRIPTION_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object fieldDescription_ = ""; /** * string field_description = 3; * @return The fieldDescription. */ @java.lang.Override public java.lang.String getFieldDescription() { java.lang.Object ref = fieldDescription_; 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(); fieldDescription_ = s; return s; } } /** * string field_description = 3; * @return The bytes for fieldDescription. */ @java.lang.Override public com.google.protobuf.ByteString getFieldDescriptionBytes() { java.lang.Object ref = fieldDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APPLICATION_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object applicationName_ = ""; /** *
   * display-friendly identification
   * 
* * string application_name = 4; * @return The applicationName. */ @java.lang.Override public java.lang.String getApplicationName() { java.lang.Object ref = applicationName_; 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(); applicationName_ = s; return s; } } /** *
   * display-friendly identification
   * 
* * string application_name = 4; * @return The bytes for applicationName. */ @java.lang.Override public com.google.protobuf.ByteString getApplicationNameBytes() { java.lang.Object ref = applicationName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APPLICATION_ID_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object applicationId_ = ""; /** *
   * computer-friendly identification
   * 
* * string application_id = 5; * @return The applicationId. */ @java.lang.Override public java.lang.String getApplicationId() { java.lang.Object ref = applicationId_; 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(); applicationId_ = s; return s; } } /** *
   * computer-friendly identification
   * 
* * string application_id = 5; * @return The bytes for applicationId. */ @java.lang.Override public com.google.protobuf.ByteString getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationId_ = 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTypedTicket()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldDescription_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldDescription_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, applicationName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, applicationId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTypedTicket()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldDescription_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, applicationName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, applicationId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.deephaven.proto.backplane.grpc.FieldInfo)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.FieldInfo other = (io.deephaven.proto.backplane.grpc.FieldInfo) obj; if (hasTypedTicket() != other.hasTypedTicket()) return false; if (hasTypedTicket()) { if (!getTypedTicket() .equals(other.getTypedTicket())) return false; } if (!getFieldName() .equals(other.getFieldName())) return false; if (!getFieldDescription() .equals(other.getFieldDescription())) return false; if (!getApplicationName() .equals(other.getApplicationName())) return false; if (!getApplicationId() .equals(other.getApplicationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTypedTicket()) { hash = (37 * hash) + TYPED_TICKET_FIELD_NUMBER; hash = (53 * hash) + getTypedTicket().hashCode(); } hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getFieldName().hashCode(); hash = (37 * hash) + FIELD_DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getFieldDescription().hashCode(); hash = (37 * hash) + APPLICATION_NAME_FIELD_NUMBER; hash = (53 * hash) + getApplicationName().hashCode(); hash = (37 * hash) + APPLICATION_ID_FIELD_NUMBER; hash = (53 * hash) + getApplicationId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.FieldInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.FieldInfo 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 io.deephaven.proto.backplane.grpc.FieldInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.FieldInfo 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 io.deephaven.proto.backplane.grpc.FieldInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.FieldInfo 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(io.deephaven.proto.backplane.grpc.FieldInfo 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; } /** *
   *
   * A lightweight object describing the exposed field.
   * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.FieldInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.FieldInfo) io.deephaven.proto.backplane.grpc.FieldInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Application.internal_static_io_deephaven_proto_backplane_grpc_FieldInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Application.internal_static_io_deephaven_proto_backplane_grpc_FieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.FieldInfo.class, io.deephaven.proto.backplane.grpc.FieldInfo.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.FieldInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypedTicketFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; typedTicket_ = null; if (typedTicketBuilder_ != null) { typedTicketBuilder_.dispose(); typedTicketBuilder_ = null; } fieldName_ = ""; fieldDescription_ = ""; applicationName_ = ""; applicationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Application.internal_static_io_deephaven_proto_backplane_grpc_FieldInfo_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.FieldInfo getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.FieldInfo.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.FieldInfo build() { io.deephaven.proto.backplane.grpc.FieldInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.FieldInfo buildPartial() { io.deephaven.proto.backplane.grpc.FieldInfo result = new io.deephaven.proto.backplane.grpc.FieldInfo(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.FieldInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.typedTicket_ = typedTicketBuilder_ == null ? typedTicket_ : typedTicketBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.fieldName_ = fieldName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.fieldDescription_ = fieldDescription_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.applicationName_ = applicationName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.applicationId_ = applicationId_; } result.bitField0_ |= to_bitField0_; } @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 io.deephaven.proto.backplane.grpc.FieldInfo) { return mergeFrom((io.deephaven.proto.backplane.grpc.FieldInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.FieldInfo other) { if (other == io.deephaven.proto.backplane.grpc.FieldInfo.getDefaultInstance()) return this; if (other.hasTypedTicket()) { mergeTypedTicket(other.getTypedTicket()); } if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getFieldDescription().isEmpty()) { fieldDescription_ = other.fieldDescription_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getApplicationName().isEmpty()) { applicationName_ = other.applicationName_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getApplicationId().isEmpty()) { applicationId_ = other.applicationId_; bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getTypedTicketFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { fieldName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { fieldDescription_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { applicationName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { applicationId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.deephaven.proto.backplane.grpc.TypedTicket typedTicket_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder> typedTicketBuilder_; /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; * @return Whether the typedTicket field is set. */ public boolean hasTypedTicket() { return ((bitField0_ & 0x00000001) != 0); } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; * @return The typedTicket. */ public io.deephaven.proto.backplane.grpc.TypedTicket getTypedTicket() { if (typedTicketBuilder_ == null) { return typedTicket_ == null ? io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance() : typedTicket_; } else { return typedTicketBuilder_.getMessage(); } } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ public Builder setTypedTicket(io.deephaven.proto.backplane.grpc.TypedTicket value) { if (typedTicketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } typedTicket_ = value; } else { typedTicketBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ public Builder setTypedTicket( io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) { if (typedTicketBuilder_ == null) { typedTicket_ = builderForValue.build(); } else { typedTicketBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ public Builder mergeTypedTicket(io.deephaven.proto.backplane.grpc.TypedTicket value) { if (typedTicketBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && typedTicket_ != null && typedTicket_ != io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance()) { getTypedTicketBuilder().mergeFrom(value); } else { typedTicket_ = value; } } else { typedTicketBuilder_.mergeFrom(value); } if (typedTicket_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ public Builder clearTypedTicket() { bitField0_ = (bitField0_ & ~0x00000001); typedTicket_ = null; if (typedTicketBuilder_ != null) { typedTicketBuilder_.dispose(); typedTicketBuilder_ = null; } onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ public io.deephaven.proto.backplane.grpc.TypedTicket.Builder getTypedTicketBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTypedTicketFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ public io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder getTypedTicketOrBuilder() { if (typedTicketBuilder_ != null) { return typedTicketBuilder_.getMessageOrBuilder(); } else { return typedTicket_ == null ? io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance() : typedTicket_; } } /** * .io.deephaven.proto.backplane.grpc.TypedTicket typed_ticket = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder> getTypedTicketFieldBuilder() { if (typedTicketBuilder_ == null) { typedTicketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder>( getTypedTicket(), getParentForChildren(), isClean()); typedTicket_ = null; } return typedTicketBuilder_; } private java.lang.Object fieldName_ = ""; /** * string field_name = 2; * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string field_name = 2; * @return The bytes for fieldName. */ public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string field_name = 2; * @param value The fieldName to set. * @return This builder for chaining. */ public Builder setFieldName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fieldName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string field_name = 2; * @return This builder for chaining. */ public Builder clearFieldName() { fieldName_ = getDefaultInstance().getFieldName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string field_name = 2; * @param value The bytes for fieldName to set. * @return This builder for chaining. */ public Builder setFieldNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object fieldDescription_ = ""; /** * string field_description = 3; * @return The fieldDescription. */ public java.lang.String getFieldDescription() { java.lang.Object ref = fieldDescription_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldDescription_ = s; return s; } else { return (java.lang.String) ref; } } /** * string field_description = 3; * @return The bytes for fieldDescription. */ public com.google.protobuf.ByteString getFieldDescriptionBytes() { java.lang.Object ref = fieldDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string field_description = 3; * @param value The fieldDescription to set. * @return This builder for chaining. */ public Builder setFieldDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fieldDescription_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string field_description = 3; * @return This builder for chaining. */ public Builder clearFieldDescription() { fieldDescription_ = getDefaultInstance().getFieldDescription(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string field_description = 3; * @param value The bytes for fieldDescription to set. * @return This builder for chaining. */ public Builder setFieldDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldDescription_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object applicationName_ = ""; /** *
     * display-friendly identification
     * 
* * string application_name = 4; * @return The applicationName. */ public java.lang.String getApplicationName() { java.lang.Object ref = applicationName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * display-friendly identification
     * 
* * string application_name = 4; * @return The bytes for applicationName. */ public com.google.protobuf.ByteString getApplicationNameBytes() { java.lang.Object ref = applicationName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * display-friendly identification
     * 
* * string application_name = 4; * @param value The applicationName to set. * @return This builder for chaining. */ public Builder setApplicationName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } applicationName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * display-friendly identification
     * 
* * string application_name = 4; * @return This builder for chaining. */ public Builder clearApplicationName() { applicationName_ = getDefaultInstance().getApplicationName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * display-friendly identification
     * 
* * string application_name = 4; * @param value The bytes for applicationName to set. * @return This builder for chaining. */ public Builder setApplicationNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); applicationName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object applicationId_ = ""; /** *
     * computer-friendly identification
     * 
* * string application_id = 5; * @return The applicationId. */ public java.lang.String getApplicationId() { java.lang.Object ref = applicationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * computer-friendly identification
     * 
* * string application_id = 5; * @return The bytes for applicationId. */ public com.google.protobuf.ByteString getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * computer-friendly identification
     * 
* * string application_id = 5; * @param value The applicationId to set. * @return This builder for chaining. */ public Builder setApplicationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } applicationId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * computer-friendly identification
     * 
* * string application_id = 5; * @return This builder for chaining. */ public Builder clearApplicationId() { applicationId_ = getDefaultInstance().getApplicationId(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * computer-friendly identification
     * 
* * string application_id = 5; * @param value The bytes for applicationId to set. * @return This builder for chaining. */ public Builder setApplicationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); applicationId_ = value; bitField0_ |= 0x00000010; 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:io.deephaven.proto.backplane.grpc.FieldInfo) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.FieldInfo) private static final io.deephaven.proto.backplane.grpc.FieldInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.FieldInfo(); } public static io.deephaven.proto.backplane.grpc.FieldInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FieldInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.deephaven.proto.backplane.grpc.FieldInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy