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

grpc.cache_client.pubsub._PublishRequest Maven / Gradle / Ivy

There is a newer version: 0.119.4
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cachepubsub.proto

package grpc.cache_client.pubsub;

/**
 * 
 * A value to publish through a topic.
 * 
* * Protobuf type {@code cache_client.pubsub._PublishRequest} */ public final class _PublishRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cache_client.pubsub._PublishRequest) _PublishRequestOrBuilder { private static final long serialVersionUID = 0L; // Use _PublishRequest.newBuilder() to construct. private _PublishRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private _PublishRequest() { cacheName_ = ""; topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new _PublishRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return grpc.cache_client.pubsub.Cachepubsub.internal_static_cache_client_pubsub__PublishRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return grpc.cache_client.pubsub.Cachepubsub.internal_static_cache_client_pubsub__PublishRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( grpc.cache_client.pubsub._PublishRequest.class, grpc.cache_client.pubsub._PublishRequest.Builder.class); } private int bitField0_; public static final int CACHE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object cacheName_ = ""; /** *
   * Cache namespace for the topic to which you want to send the value.
   * 
* * string cache_name = 1; * @return The cacheName. */ @java.lang.Override public java.lang.String getCacheName() { java.lang.Object ref = cacheName_; 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(); cacheName_ = s; return s; } } /** *
   * Cache namespace for the topic to which you want to send the value.
   * 
* * string cache_name = 1; * @return The bytes for cacheName. */ @java.lang.Override public com.google.protobuf.ByteString getCacheNameBytes() { java.lang.Object ref = cacheName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cacheName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOPIC_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; /** *
   * The literal topic name to which you want to send the value.
   * 
* * string topic = 2; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; 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(); topic_ = s; return s; } } /** *
   * The literal topic name to which you want to send the value.
   * 
* * string topic = 2; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 3; private grpc.cache_client.pubsub._TopicValue value_; /** *
   * The value you want to send to the topic. All current subscribers will receive
   * this, should the whims of the Internet prove merciful.
   * 
* * .cache_client.pubsub._TopicValue value = 3; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The value you want to send to the topic. All current subscribers will receive
   * this, should the whims of the Internet prove merciful.
   * 
* * .cache_client.pubsub._TopicValue value = 3; * @return The value. */ @java.lang.Override public grpc.cache_client.pubsub._TopicValue getValue() { return value_ == null ? grpc.cache_client.pubsub._TopicValue.getDefaultInstance() : value_; } /** *
   * The value you want to send to the topic. All current subscribers will receive
   * this, should the whims of the Internet prove merciful.
   * 
* * .cache_client.pubsub._TopicValue value = 3; */ @java.lang.Override public grpc.cache_client.pubsub._TopicValueOrBuilder getValueOrBuilder() { return value_ == null ? grpc.cache_client.pubsub._TopicValue.getDefaultInstance() : value_; } 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(cacheName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cacheName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getValue()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cacheName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cacheName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getValue()); } 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 grpc.cache_client.pubsub._PublishRequest)) { return super.equals(obj); } grpc.cache_client.pubsub._PublishRequest other = (grpc.cache_client.pubsub._PublishRequest) obj; if (!getCacheName() .equals(other.getCacheName())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) 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(); hash = (37 * hash) + CACHE_NAME_FIELD_NUMBER; hash = (53 * hash) + getCacheName().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static grpc.cache_client.pubsub._PublishRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static grpc.cache_client.pubsub._PublishRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static grpc.cache_client.pubsub._PublishRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static grpc.cache_client.pubsub._PublishRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static grpc.cache_client.pubsub._PublishRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static grpc.cache_client.pubsub._PublishRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static grpc.cache_client.pubsub._PublishRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static grpc.cache_client.pubsub._PublishRequest 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 grpc.cache_client.pubsub._PublishRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static grpc.cache_client.pubsub._PublishRequest 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 grpc.cache_client.pubsub._PublishRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static grpc.cache_client.pubsub._PublishRequest 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(grpc.cache_client.pubsub._PublishRequest 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 value to publish through a topic.
   * 
* * Protobuf type {@code cache_client.pubsub._PublishRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cache_client.pubsub._PublishRequest) grpc.cache_client.pubsub._PublishRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return grpc.cache_client.pubsub.Cachepubsub.internal_static_cache_client_pubsub__PublishRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return grpc.cache_client.pubsub.Cachepubsub.internal_static_cache_client_pubsub__PublishRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( grpc.cache_client.pubsub._PublishRequest.class, grpc.cache_client.pubsub._PublishRequest.Builder.class); } // Construct using grpc.cache_client.pubsub._PublishRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; cacheName_ = ""; topic_ = ""; value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return grpc.cache_client.pubsub.Cachepubsub.internal_static_cache_client_pubsub__PublishRequest_descriptor; } @java.lang.Override public grpc.cache_client.pubsub._PublishRequest getDefaultInstanceForType() { return grpc.cache_client.pubsub._PublishRequest.getDefaultInstance(); } @java.lang.Override public grpc.cache_client.pubsub._PublishRequest build() { grpc.cache_client.pubsub._PublishRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public grpc.cache_client.pubsub._PublishRequest buildPartial() { grpc.cache_client.pubsub._PublishRequest result = new grpc.cache_client.pubsub._PublishRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(grpc.cache_client.pubsub._PublishRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.cacheName_ = cacheName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.topic_ = topic_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); to_bitField0_ |= 0x00000001; } 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 grpc.cache_client.pubsub._PublishRequest) { return mergeFrom((grpc.cache_client.pubsub._PublishRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(grpc.cache_client.pubsub._PublishRequest other) { if (other == grpc.cache_client.pubsub._PublishRequest.getDefaultInstance()) return this; if (!other.getCacheName().isEmpty()) { cacheName_ = other.cacheName_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasValue()) { mergeValue(other.getValue()); } 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: { cacheName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { topic_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 java.lang.Object cacheName_ = ""; /** *
     * Cache namespace for the topic to which you want to send the value.
     * 
* * string cache_name = 1; * @return The cacheName. */ public java.lang.String getCacheName() { java.lang.Object ref = cacheName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cacheName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Cache namespace for the topic to which you want to send the value.
     * 
* * string cache_name = 1; * @return The bytes for cacheName. */ public com.google.protobuf.ByteString getCacheNameBytes() { java.lang.Object ref = cacheName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cacheName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Cache namespace for the topic to which you want to send the value.
     * 
* * string cache_name = 1; * @param value The cacheName to set. * @return This builder for chaining. */ public Builder setCacheName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cacheName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Cache namespace for the topic to which you want to send the value.
     * 
* * string cache_name = 1; * @return This builder for chaining. */ public Builder clearCacheName() { cacheName_ = getDefaultInstance().getCacheName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Cache namespace for the topic to which you want to send the value.
     * 
* * string cache_name = 1; * @param value The bytes for cacheName to set. * @return This builder for chaining. */ public Builder setCacheNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cacheName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object topic_ = ""; /** *
     * The literal topic name to which you want to send the value.
     * 
* * string topic = 2; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The literal topic name to which you want to send the value.
     * 
* * string topic = 2; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The literal topic name to which you want to send the value.
     * 
* * string topic = 2; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The literal topic name to which you want to send the value.
     * 
* * string topic = 2; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The literal topic name to which you want to send the value.
     * 
* * string topic = 2; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private grpc.cache_client.pubsub._TopicValue value_; private com.google.protobuf.SingleFieldBuilderV3< grpc.cache_client.pubsub._TopicValue, grpc.cache_client.pubsub._TopicValue.Builder, grpc.cache_client.pubsub._TopicValueOrBuilder> valueBuilder_; /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; * @return The value. */ public grpc.cache_client.pubsub._TopicValue getValue() { if (valueBuilder_ == null) { return value_ == null ? grpc.cache_client.pubsub._TopicValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ public Builder setValue(grpc.cache_client.pubsub._TopicValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ public Builder setValue( grpc.cache_client.pubsub._TopicValue.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ public Builder mergeValue(grpc.cache_client.pubsub._TopicValue value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && value_ != null && value_ != grpc.cache_client.pubsub._TopicValue.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; } } else { valueBuilder_.mergeFrom(value); } if (value_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000004); value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } onChanged(); return this; } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ public grpc.cache_client.pubsub._TopicValue.Builder getValueBuilder() { bitField0_ |= 0x00000004; onChanged(); return getValueFieldBuilder().getBuilder(); } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ public grpc.cache_client.pubsub._TopicValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? grpc.cache_client.pubsub._TopicValue.getDefaultInstance() : value_; } } /** *
     * The value you want to send to the topic. All current subscribers will receive
     * this, should the whims of the Internet prove merciful.
     * 
* * .cache_client.pubsub._TopicValue value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< grpc.cache_client.pubsub._TopicValue, grpc.cache_client.pubsub._TopicValue.Builder, grpc.cache_client.pubsub._TopicValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< grpc.cache_client.pubsub._TopicValue, grpc.cache_client.pubsub._TopicValue.Builder, grpc.cache_client.pubsub._TopicValueOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } @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:cache_client.pubsub._PublishRequest) } // @@protoc_insertion_point(class_scope:cache_client.pubsub._PublishRequest) private static final grpc.cache_client.pubsub._PublishRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new grpc.cache_client.pubsub._PublishRequest(); } public static grpc.cache_client.pubsub._PublishRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<_PublishRequest> PARSER = new com.google.protobuf.AbstractParser<_PublishRequest>() { @java.lang.Override public _PublishRequest 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<_PublishRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<_PublishRequest> getParserForType() { return PARSER; } @java.lang.Override public grpc.cache_client.pubsub._PublishRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy