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

com.google.bytestream.ByteStreamProto Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/bytestream/bytestream.proto

// Protobuf Java Version: 3.25.3
package com.google.bytestream;

public final class ByteStreamProto {
  private ByteStreamProto() {}
  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 ReadRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.bytestream.ReadRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * The name of the resource to read.
     * 
* * string resource_name = 1; * @return The resourceName. */ java.lang.String getResourceName(); /** *
     * The name of the resource to read.
     * 
* * string resource_name = 1; * @return The bytes for resourceName. */ com.google.protobuf.ByteString getResourceNameBytes(); /** *
     * The offset for the first byte to return in the read, relative to the start
     * of the resource.
     *
     * A `read_offset` that is negative or greater than the size of the resource
     * will cause an `OUT_OF_RANGE` error.
     * 
* * int64 read_offset = 2; * @return The readOffset. */ long getReadOffset(); /** *
     * The maximum number of `data` bytes the server is allowed to return in the
     * sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
     * there is no limit, and a negative `read_limit` will cause an error.
     *
     * If the stream returns fewer bytes than allowed by the `read_limit` and no
     * error occurred, the stream includes all data from the `read_offset` to the
     * end of the resource.
     * 
* * int64 read_limit = 3; * @return The readLimit. */ long getReadLimit(); } /** *
   * Request object for ByteStream.Read.
   * 
* * Protobuf type {@code google.bytestream.ReadRequest} */ public static final class ReadRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bytestream.ReadRequest) ReadRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ReadRequest.newBuilder() to construct. private ReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadRequest() { resourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.ReadRequest.class, com.google.bytestream.ByteStreamProto.ReadRequest.Builder.class); } public static final int RESOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object resourceName_ = ""; /** *
     * The name of the resource to read.
     * 
* * string resource_name = 1; * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; 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(); resourceName_ = s; return s; } } /** *
     * The name of the resource to read.
     * 
* * string resource_name = 1; * @return The bytes for resourceName. */ @java.lang.Override public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int READ_OFFSET_FIELD_NUMBER = 2; private long readOffset_ = 0L; /** *
     * The offset for the first byte to return in the read, relative to the start
     * of the resource.
     *
     * A `read_offset` that is negative or greater than the size of the resource
     * will cause an `OUT_OF_RANGE` error.
     * 
* * int64 read_offset = 2; * @return The readOffset. */ @java.lang.Override public long getReadOffset() { return readOffset_; } public static final int READ_LIMIT_FIELD_NUMBER = 3; private long readLimit_ = 0L; /** *
     * The maximum number of `data` bytes the server is allowed to return in the
     * sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
     * there is no limit, and a negative `read_limit` will cause an error.
     *
     * If the stream returns fewer bytes than allowed by the `read_limit` and no
     * error occurred, the stream includes all data from the `read_offset` to the
     * end of the resource.
     * 
* * int64 read_limit = 3; * @return The readLimit. */ @java.lang.Override public long getReadLimit() { return readLimit_; } 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(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } if (readOffset_ != 0L) { output.writeInt64(2, readOffset_); } if (readLimit_ != 0L) { output.writeInt64(3, readLimit_); } 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(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); } if (readOffset_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, readOffset_); } if (readLimit_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, readLimit_); } 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 com.google.bytestream.ByteStreamProto.ReadRequest)) { return super.equals(obj); } com.google.bytestream.ByteStreamProto.ReadRequest other = (com.google.bytestream.ByteStreamProto.ReadRequest) obj; if (!getResourceName() .equals(other.getResourceName())) return false; if (getReadOffset() != other.getReadOffset()) return false; if (getReadLimit() != other.getReadLimit()) 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) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); hash = (37 * hash) + READ_OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadOffset()); hash = (37 * hash) + READ_LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.ReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.ReadRequest 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 com.google.bytestream.ByteStreamProto.ReadRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.ReadRequest 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 com.google.bytestream.ByteStreamProto.ReadRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.ReadRequest 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(com.google.bytestream.ByteStreamProto.ReadRequest 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; } /** *
     * Request object for ByteStream.Read.
     * 
* * Protobuf type {@code google.bytestream.ReadRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bytestream.ReadRequest) com.google.bytestream.ByteStreamProto.ReadRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.ReadRequest.class, com.google.bytestream.ByteStreamProto.ReadRequest.Builder.class); } // Construct using com.google.bytestream.ByteStreamProto.ReadRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resourceName_ = ""; readOffset_ = 0L; readLimit_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadRequest_descriptor; } @java.lang.Override public com.google.bytestream.ByteStreamProto.ReadRequest getDefaultInstanceForType() { return com.google.bytestream.ByteStreamProto.ReadRequest.getDefaultInstance(); } @java.lang.Override public com.google.bytestream.ByteStreamProto.ReadRequest build() { com.google.bytestream.ByteStreamProto.ReadRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.bytestream.ByteStreamProto.ReadRequest buildPartial() { com.google.bytestream.ByteStreamProto.ReadRequest result = new com.google.bytestream.ByteStreamProto.ReadRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.bytestream.ByteStreamProto.ReadRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resourceName_ = resourceName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.readOffset_ = readOffset_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.readLimit_ = readLimit_; } } @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 com.google.bytestream.ByteStreamProto.ReadRequest) { return mergeFrom((com.google.bytestream.ByteStreamProto.ReadRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.bytestream.ByteStreamProto.ReadRequest other) { if (other == com.google.bytestream.ByteStreamProto.ReadRequest.getDefaultInstance()) return this; if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; bitField0_ |= 0x00000001; onChanged(); } if (other.getReadOffset() != 0L) { setReadOffset(other.getReadOffset()); } if (other.getReadLimit() != 0L) { setReadLimit(other.getReadLimit()); } 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: { resourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { readOffset_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { readLimit_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 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 resourceName_ = ""; /** *
       * The name of the resource to read.
       * 
* * string resource_name = 1; * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the resource to read.
       * 
* * string resource_name = 1; * @return The bytes for resourceName. */ public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the resource to read.
       * 
* * string resource_name = 1; * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The name of the resource to read.
       * 
* * string resource_name = 1; * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The name of the resource to read.
       * 
* * string resource_name = 1; * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private long readOffset_ ; /** *
       * The offset for the first byte to return in the read, relative to the start
       * of the resource.
       *
       * A `read_offset` that is negative or greater than the size of the resource
       * will cause an `OUT_OF_RANGE` error.
       * 
* * int64 read_offset = 2; * @return The readOffset. */ @java.lang.Override public long getReadOffset() { return readOffset_; } /** *
       * The offset for the first byte to return in the read, relative to the start
       * of the resource.
       *
       * A `read_offset` that is negative or greater than the size of the resource
       * will cause an `OUT_OF_RANGE` error.
       * 
* * int64 read_offset = 2; * @param value The readOffset to set. * @return This builder for chaining. */ public Builder setReadOffset(long value) { readOffset_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The offset for the first byte to return in the read, relative to the start
       * of the resource.
       *
       * A `read_offset` that is negative or greater than the size of the resource
       * will cause an `OUT_OF_RANGE` error.
       * 
* * int64 read_offset = 2; * @return This builder for chaining. */ public Builder clearReadOffset() { bitField0_ = (bitField0_ & ~0x00000002); readOffset_ = 0L; onChanged(); return this; } private long readLimit_ ; /** *
       * The maximum number of `data` bytes the server is allowed to return in the
       * sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
       * there is no limit, and a negative `read_limit` will cause an error.
       *
       * If the stream returns fewer bytes than allowed by the `read_limit` and no
       * error occurred, the stream includes all data from the `read_offset` to the
       * end of the resource.
       * 
* * int64 read_limit = 3; * @return The readLimit. */ @java.lang.Override public long getReadLimit() { return readLimit_; } /** *
       * The maximum number of `data` bytes the server is allowed to return in the
       * sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
       * there is no limit, and a negative `read_limit` will cause an error.
       *
       * If the stream returns fewer bytes than allowed by the `read_limit` and no
       * error occurred, the stream includes all data from the `read_offset` to the
       * end of the resource.
       * 
* * int64 read_limit = 3; * @param value The readLimit to set. * @return This builder for chaining. */ public Builder setReadLimit(long value) { readLimit_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * The maximum number of `data` bytes the server is allowed to return in the
       * sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
       * there is no limit, and a negative `read_limit` will cause an error.
       *
       * If the stream returns fewer bytes than allowed by the `read_limit` and no
       * error occurred, the stream includes all data from the `read_offset` to the
       * end of the resource.
       * 
* * int64 read_limit = 3; * @return This builder for chaining. */ public Builder clearReadLimit() { bitField0_ = (bitField0_ & ~0x00000004); readLimit_ = 0L; 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:google.bytestream.ReadRequest) } // @@protoc_insertion_point(class_scope:google.bytestream.ReadRequest) private static final com.google.bytestream.ByteStreamProto.ReadRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bytestream.ByteStreamProto.ReadRequest(); } public static com.google.bytestream.ByteStreamProto.ReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadRequest 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 com.google.bytestream.ByteStreamProto.ReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bytestream.ReadResponse) com.google.protobuf.MessageOrBuilder { /** *
     * A portion of the data for the resource. The service **may** leave `data`
     * empty for any given `ReadResponse`. This enables the service to inform the
     * client that the request is still live while it is running an operation to
     * generate more data.
     * 
* * bytes data = 10; * @return The data. */ com.google.protobuf.ByteString getData(); } /** *
   * Response object for ByteStream.Read.
   * 
* * Protobuf type {@code google.bytestream.ReadResponse} */ public static final class ReadResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bytestream.ReadResponse) ReadResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ReadResponse.newBuilder() to construct. private ReadResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadResponse() { data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.ReadResponse.class, com.google.bytestream.ByteStreamProto.ReadResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 10; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
     * A portion of the data for the resource. The service **may** leave `data`
     * empty for any given `ReadResponse`. This enables the service to inform the
     * client that the request is still live while it is running an operation to
     * generate more data.
     * 
* * bytes data = 10; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } 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 (!data_.isEmpty()) { output.writeBytes(10, data_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, data_); } 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 com.google.bytestream.ByteStreamProto.ReadResponse)) { return super.equals(obj); } com.google.bytestream.ByteStreamProto.ReadResponse other = (com.google.bytestream.ByteStreamProto.ReadResponse) obj; if (!getData() .equals(other.getData())) 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) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.ReadResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.ReadResponse 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 com.google.bytestream.ByteStreamProto.ReadResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.ReadResponse 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 com.google.bytestream.ByteStreamProto.ReadResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.ReadResponse 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(com.google.bytestream.ByteStreamProto.ReadResponse 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; } /** *
     * Response object for ByteStream.Read.
     * 
* * Protobuf type {@code google.bytestream.ReadResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bytestream.ReadResponse) com.google.bytestream.ByteStreamProto.ReadResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.ReadResponse.class, com.google.bytestream.ByteStreamProto.ReadResponse.Builder.class); } // Construct using com.google.bytestream.ByteStreamProto.ReadResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_ReadResponse_descriptor; } @java.lang.Override public com.google.bytestream.ByteStreamProto.ReadResponse getDefaultInstanceForType() { return com.google.bytestream.ByteStreamProto.ReadResponse.getDefaultInstance(); } @java.lang.Override public com.google.bytestream.ByteStreamProto.ReadResponse build() { com.google.bytestream.ByteStreamProto.ReadResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.bytestream.ByteStreamProto.ReadResponse buildPartial() { com.google.bytestream.ByteStreamProto.ReadResponse result = new com.google.bytestream.ByteStreamProto.ReadResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.bytestream.ByteStreamProto.ReadResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.data_ = data_; } } @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 com.google.bytestream.ByteStreamProto.ReadResponse) { return mergeFrom((com.google.bytestream.ByteStreamProto.ReadResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.bytestream.ByteStreamProto.ReadResponse other) { if (other == com.google.bytestream.ByteStreamProto.ReadResponse.getDefaultInstance()) return this; if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } 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 82: { data_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 82 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 com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * A portion of the data for the resource. The service **may** leave `data`
       * empty for any given `ReadResponse`. This enables the service to inform the
       * client that the request is still live while it is running an operation to
       * generate more data.
       * 
* * bytes data = 10; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * A portion of the data for the resource. The service **may** leave `data`
       * empty for any given `ReadResponse`. This enables the service to inform the
       * client that the request is still live while it is running an operation to
       * generate more data.
       * 
* * bytes data = 10; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * A portion of the data for the resource. The service **may** leave `data`
       * empty for any given `ReadResponse`. This enables the service to inform the
       * client that the request is still live while it is running an operation to
       * generate more data.
       * 
* * bytes data = 10; * @return This builder for chaining. */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000001); data_ = getDefaultInstance().getData(); 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:google.bytestream.ReadResponse) } // @@protoc_insertion_point(class_scope:google.bytestream.ReadResponse) private static final com.google.bytestream.ByteStreamProto.ReadResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bytestream.ByteStreamProto.ReadResponse(); } public static com.google.bytestream.ByteStreamProto.ReadResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadResponse 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 com.google.bytestream.ByteStreamProto.ReadResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WriteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bytestream.WriteRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the resource to write. This **must** be set on the first
     * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
     * it **must** match the value of the first request.
     * 
* * string resource_name = 1; * @return The resourceName. */ java.lang.String getResourceName(); /** *
     * The name of the resource to write. This **must** be set on the first
     * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
     * it **must** match the value of the first request.
     * 
* * string resource_name = 1; * @return The bytes for resourceName. */ com.google.protobuf.ByteString getResourceNameBytes(); /** *
     * The offset from the beginning of the resource at which the data should be
     * written. It is required on all `WriteRequest`s.
     *
     * In the first `WriteRequest` of a `Write()` action, it indicates
     * the initial offset for the `Write()` call. The value **must** be equal to
     * the `committed_size` that a call to `QueryWriteStatus()` would return.
     *
     * On subsequent calls, this value **must** be set and **must** be equal to
     * the sum of the first `write_offset` and the sizes of all `data` bundles
     * sent previously on this stream.
     *
     * An incorrect value will cause an error.
     * 
* * int64 write_offset = 2; * @return The writeOffset. */ long getWriteOffset(); /** *
     * If `true`, this indicates that the write is complete. Sending any
     * `WriteRequest`s subsequent to one in which `finish_write` is `true` will
     * cause an error.
     * 
* * bool finish_write = 3; * @return The finishWrite. */ boolean getFinishWrite(); /** *
     * A portion of the data for the resource. The client **may** leave `data`
     * empty for any given `WriteRequest`. This enables the client to inform the
     * service that the request is still live while it is running an operation to
     * generate more data.
     * 
* * bytes data = 10; * @return The data. */ com.google.protobuf.ByteString getData(); } /** *
   * Request object for ByteStream.Write.
   * 
* * Protobuf type {@code google.bytestream.WriteRequest} */ public static final class WriteRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bytestream.WriteRequest) WriteRequestOrBuilder { private static final long serialVersionUID = 0L; // Use WriteRequest.newBuilder() to construct. private WriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WriteRequest() { resourceName_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WriteRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.WriteRequest.class, com.google.bytestream.ByteStreamProto.WriteRequest.Builder.class); } public static final int RESOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object resourceName_ = ""; /** *
     * The name of the resource to write. This **must** be set on the first
     * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
     * it **must** match the value of the first request.
     * 
* * string resource_name = 1; * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; 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(); resourceName_ = s; return s; } } /** *
     * The name of the resource to write. This **must** be set on the first
     * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
     * it **must** match the value of the first request.
     * 
* * string resource_name = 1; * @return The bytes for resourceName. */ @java.lang.Override public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WRITE_OFFSET_FIELD_NUMBER = 2; private long writeOffset_ = 0L; /** *
     * The offset from the beginning of the resource at which the data should be
     * written. It is required on all `WriteRequest`s.
     *
     * In the first `WriteRequest` of a `Write()` action, it indicates
     * the initial offset for the `Write()` call. The value **must** be equal to
     * the `committed_size` that a call to `QueryWriteStatus()` would return.
     *
     * On subsequent calls, this value **must** be set and **must** be equal to
     * the sum of the first `write_offset` and the sizes of all `data` bundles
     * sent previously on this stream.
     *
     * An incorrect value will cause an error.
     * 
* * int64 write_offset = 2; * @return The writeOffset. */ @java.lang.Override public long getWriteOffset() { return writeOffset_; } public static final int FINISH_WRITE_FIELD_NUMBER = 3; private boolean finishWrite_ = false; /** *
     * If `true`, this indicates that the write is complete. Sending any
     * `WriteRequest`s subsequent to one in which `finish_write` is `true` will
     * cause an error.
     * 
* * bool finish_write = 3; * @return The finishWrite. */ @java.lang.Override public boolean getFinishWrite() { return finishWrite_; } public static final int DATA_FIELD_NUMBER = 10; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
     * A portion of the data for the resource. The client **may** leave `data`
     * empty for any given `WriteRequest`. This enables the client to inform the
     * service that the request is still live while it is running an operation to
     * generate more data.
     * 
* * bytes data = 10; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } 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(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } if (writeOffset_ != 0L) { output.writeInt64(2, writeOffset_); } if (finishWrite_ != false) { output.writeBool(3, finishWrite_); } if (!data_.isEmpty()) { output.writeBytes(10, data_); } 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(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); } if (writeOffset_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, writeOffset_); } if (finishWrite_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, finishWrite_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, data_); } 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 com.google.bytestream.ByteStreamProto.WriteRequest)) { return super.equals(obj); } com.google.bytestream.ByteStreamProto.WriteRequest other = (com.google.bytestream.ByteStreamProto.WriteRequest) obj; if (!getResourceName() .equals(other.getResourceName())) return false; if (getWriteOffset() != other.getWriteOffset()) return false; if (getFinishWrite() != other.getFinishWrite()) return false; if (!getData() .equals(other.getData())) 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) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); hash = (37 * hash) + WRITE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWriteOffset()); hash = (37 * hash) + FINISH_WRITE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFinishWrite()); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.WriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.WriteRequest 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 com.google.bytestream.ByteStreamProto.WriteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.WriteRequest 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 com.google.bytestream.ByteStreamProto.WriteRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.WriteRequest 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(com.google.bytestream.ByteStreamProto.WriteRequest 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; } /** *
     * Request object for ByteStream.Write.
     * 
* * Protobuf type {@code google.bytestream.WriteRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bytestream.WriteRequest) com.google.bytestream.ByteStreamProto.WriteRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.WriteRequest.class, com.google.bytestream.ByteStreamProto.WriteRequest.Builder.class); } // Construct using com.google.bytestream.ByteStreamProto.WriteRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resourceName_ = ""; writeOffset_ = 0L; finishWrite_ = false; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteRequest_descriptor; } @java.lang.Override public com.google.bytestream.ByteStreamProto.WriteRequest getDefaultInstanceForType() { return com.google.bytestream.ByteStreamProto.WriteRequest.getDefaultInstance(); } @java.lang.Override public com.google.bytestream.ByteStreamProto.WriteRequest build() { com.google.bytestream.ByteStreamProto.WriteRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.bytestream.ByteStreamProto.WriteRequest buildPartial() { com.google.bytestream.ByteStreamProto.WriteRequest result = new com.google.bytestream.ByteStreamProto.WriteRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.bytestream.ByteStreamProto.WriteRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resourceName_ = resourceName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.writeOffset_ = writeOffset_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.finishWrite_ = finishWrite_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.data_ = data_; } } @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 com.google.bytestream.ByteStreamProto.WriteRequest) { return mergeFrom((com.google.bytestream.ByteStreamProto.WriteRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.bytestream.ByteStreamProto.WriteRequest other) { if (other == com.google.bytestream.ByteStreamProto.WriteRequest.getDefaultInstance()) return this; if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; bitField0_ |= 0x00000001; onChanged(); } if (other.getWriteOffset() != 0L) { setWriteOffset(other.getWriteOffset()); } if (other.getFinishWrite() != false) { setFinishWrite(other.getFinishWrite()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } 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: { resourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { writeOffset_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { finishWrite_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 82: { data_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 82 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 resourceName_ = ""; /** *
       * The name of the resource to write. This **must** be set on the first
       * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
       * it **must** match the value of the first request.
       * 
* * string resource_name = 1; * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the resource to write. This **must** be set on the first
       * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
       * it **must** match the value of the first request.
       * 
* * string resource_name = 1; * @return The bytes for resourceName. */ public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the resource to write. This **must** be set on the first
       * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
       * it **must** match the value of the first request.
       * 
* * string resource_name = 1; * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The name of the resource to write. This **must** be set on the first
       * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
       * it **must** match the value of the first request.
       * 
* * string resource_name = 1; * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The name of the resource to write. This **must** be set on the first
       * `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
       * it **must** match the value of the first request.
       * 
* * string resource_name = 1; * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private long writeOffset_ ; /** *
       * The offset from the beginning of the resource at which the data should be
       * written. It is required on all `WriteRequest`s.
       *
       * In the first `WriteRequest` of a `Write()` action, it indicates
       * the initial offset for the `Write()` call. The value **must** be equal to
       * the `committed_size` that a call to `QueryWriteStatus()` would return.
       *
       * On subsequent calls, this value **must** be set and **must** be equal to
       * the sum of the first `write_offset` and the sizes of all `data` bundles
       * sent previously on this stream.
       *
       * An incorrect value will cause an error.
       * 
* * int64 write_offset = 2; * @return The writeOffset. */ @java.lang.Override public long getWriteOffset() { return writeOffset_; } /** *
       * The offset from the beginning of the resource at which the data should be
       * written. It is required on all `WriteRequest`s.
       *
       * In the first `WriteRequest` of a `Write()` action, it indicates
       * the initial offset for the `Write()` call. The value **must** be equal to
       * the `committed_size` that a call to `QueryWriteStatus()` would return.
       *
       * On subsequent calls, this value **must** be set and **must** be equal to
       * the sum of the first `write_offset` and the sizes of all `data` bundles
       * sent previously on this stream.
       *
       * An incorrect value will cause an error.
       * 
* * int64 write_offset = 2; * @param value The writeOffset to set. * @return This builder for chaining. */ public Builder setWriteOffset(long value) { writeOffset_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The offset from the beginning of the resource at which the data should be
       * written. It is required on all `WriteRequest`s.
       *
       * In the first `WriteRequest` of a `Write()` action, it indicates
       * the initial offset for the `Write()` call. The value **must** be equal to
       * the `committed_size` that a call to `QueryWriteStatus()` would return.
       *
       * On subsequent calls, this value **must** be set and **must** be equal to
       * the sum of the first `write_offset` and the sizes of all `data` bundles
       * sent previously on this stream.
       *
       * An incorrect value will cause an error.
       * 
* * int64 write_offset = 2; * @return This builder for chaining. */ public Builder clearWriteOffset() { bitField0_ = (bitField0_ & ~0x00000002); writeOffset_ = 0L; onChanged(); return this; } private boolean finishWrite_ ; /** *
       * If `true`, this indicates that the write is complete. Sending any
       * `WriteRequest`s subsequent to one in which `finish_write` is `true` will
       * cause an error.
       * 
* * bool finish_write = 3; * @return The finishWrite. */ @java.lang.Override public boolean getFinishWrite() { return finishWrite_; } /** *
       * If `true`, this indicates that the write is complete. Sending any
       * `WriteRequest`s subsequent to one in which `finish_write` is `true` will
       * cause an error.
       * 
* * bool finish_write = 3; * @param value The finishWrite to set. * @return This builder for chaining. */ public Builder setFinishWrite(boolean value) { finishWrite_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * If `true`, this indicates that the write is complete. Sending any
       * `WriteRequest`s subsequent to one in which `finish_write` is `true` will
       * cause an error.
       * 
* * bool finish_write = 3; * @return This builder for chaining. */ public Builder clearFinishWrite() { bitField0_ = (bitField0_ & ~0x00000004); finishWrite_ = false; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * A portion of the data for the resource. The client **may** leave `data`
       * empty for any given `WriteRequest`. This enables the client to inform the
       * service that the request is still live while it is running an operation to
       * generate more data.
       * 
* * bytes data = 10; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * A portion of the data for the resource. The client **may** leave `data`
       * empty for any given `WriteRequest`. This enables the client to inform the
       * service that the request is still live while it is running an operation to
       * generate more data.
       * 
* * bytes data = 10; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * A portion of the data for the resource. The client **may** leave `data`
       * empty for any given `WriteRequest`. This enables the client to inform the
       * service that the request is still live while it is running an operation to
       * generate more data.
       * 
* * bytes data = 10; * @return This builder for chaining. */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000008); data_ = getDefaultInstance().getData(); 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:google.bytestream.WriteRequest) } // @@protoc_insertion_point(class_scope:google.bytestream.WriteRequest) private static final com.google.bytestream.ByteStreamProto.WriteRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bytestream.ByteStreamProto.WriteRequest(); } public static com.google.bytestream.ByteStreamProto.WriteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WriteRequest 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 com.google.bytestream.ByteStreamProto.WriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WriteResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bytestream.WriteResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The number of bytes that have been processed for the given resource.
     * 
* * int64 committed_size = 1; * @return The committedSize. */ long getCommittedSize(); } /** *
   * Response object for ByteStream.Write.
   * 
* * Protobuf type {@code google.bytestream.WriteResponse} */ public static final class WriteResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bytestream.WriteResponse) WriteResponseOrBuilder { private static final long serialVersionUID = 0L; // Use WriteResponse.newBuilder() to construct. private WriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WriteResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WriteResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.WriteResponse.class, com.google.bytestream.ByteStreamProto.WriteResponse.Builder.class); } public static final int COMMITTED_SIZE_FIELD_NUMBER = 1; private long committedSize_ = 0L; /** *
     * The number of bytes that have been processed for the given resource.
     * 
* * int64 committed_size = 1; * @return The committedSize. */ @java.lang.Override public long getCommittedSize() { return committedSize_; } 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 (committedSize_ != 0L) { output.writeInt64(1, committedSize_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (committedSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, committedSize_); } 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 com.google.bytestream.ByteStreamProto.WriteResponse)) { return super.equals(obj); } com.google.bytestream.ByteStreamProto.WriteResponse other = (com.google.bytestream.ByteStreamProto.WriteResponse) obj; if (getCommittedSize() != other.getCommittedSize()) 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) + COMMITTED_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCommittedSize()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.WriteResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.WriteResponse 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 com.google.bytestream.ByteStreamProto.WriteResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.WriteResponse 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 com.google.bytestream.ByteStreamProto.WriteResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.WriteResponse 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(com.google.bytestream.ByteStreamProto.WriteResponse 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; } /** *
     * Response object for ByteStream.Write.
     * 
* * Protobuf type {@code google.bytestream.WriteResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bytestream.WriteResponse) com.google.bytestream.ByteStreamProto.WriteResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.WriteResponse.class, com.google.bytestream.ByteStreamProto.WriteResponse.Builder.class); } // Construct using com.google.bytestream.ByteStreamProto.WriteResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; committedSize_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_WriteResponse_descriptor; } @java.lang.Override public com.google.bytestream.ByteStreamProto.WriteResponse getDefaultInstanceForType() { return com.google.bytestream.ByteStreamProto.WriteResponse.getDefaultInstance(); } @java.lang.Override public com.google.bytestream.ByteStreamProto.WriteResponse build() { com.google.bytestream.ByteStreamProto.WriteResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.bytestream.ByteStreamProto.WriteResponse buildPartial() { com.google.bytestream.ByteStreamProto.WriteResponse result = new com.google.bytestream.ByteStreamProto.WriteResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.bytestream.ByteStreamProto.WriteResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.committedSize_ = committedSize_; } } @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 com.google.bytestream.ByteStreamProto.WriteResponse) { return mergeFrom((com.google.bytestream.ByteStreamProto.WriteResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.bytestream.ByteStreamProto.WriteResponse other) { if (other == com.google.bytestream.ByteStreamProto.WriteResponse.getDefaultInstance()) return this; if (other.getCommittedSize() != 0L) { setCommittedSize(other.getCommittedSize()); } 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 8: { committedSize_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 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 long committedSize_ ; /** *
       * The number of bytes that have been processed for the given resource.
       * 
* * int64 committed_size = 1; * @return The committedSize. */ @java.lang.Override public long getCommittedSize() { return committedSize_; } /** *
       * The number of bytes that have been processed for the given resource.
       * 
* * int64 committed_size = 1; * @param value The committedSize to set. * @return This builder for chaining. */ public Builder setCommittedSize(long value) { committedSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The number of bytes that have been processed for the given resource.
       * 
* * int64 committed_size = 1; * @return This builder for chaining. */ public Builder clearCommittedSize() { bitField0_ = (bitField0_ & ~0x00000001); committedSize_ = 0L; 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:google.bytestream.WriteResponse) } // @@protoc_insertion_point(class_scope:google.bytestream.WriteResponse) private static final com.google.bytestream.ByteStreamProto.WriteResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bytestream.ByteStreamProto.WriteResponse(); } public static com.google.bytestream.ByteStreamProto.WriteResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WriteResponse 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 com.google.bytestream.ByteStreamProto.WriteResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryWriteStatusRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bytestream.QueryWriteStatusRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the resource whose write status is being requested.
     * 
* * string resource_name = 1; * @return The resourceName. */ java.lang.String getResourceName(); /** *
     * The name of the resource whose write status is being requested.
     * 
* * string resource_name = 1; * @return The bytes for resourceName. */ com.google.protobuf.ByteString getResourceNameBytes(); } /** *
   * Request object for ByteStream.QueryWriteStatus.
   * 
* * Protobuf type {@code google.bytestream.QueryWriteStatusRequest} */ public static final class QueryWriteStatusRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bytestream.QueryWriteStatusRequest) QueryWriteStatusRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryWriteStatusRequest.newBuilder() to construct. private QueryWriteStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryWriteStatusRequest() { resourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryWriteStatusRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.class, com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.Builder.class); } public static final int RESOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object resourceName_ = ""; /** *
     * The name of the resource whose write status is being requested.
     * 
* * string resource_name = 1; * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; 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(); resourceName_ = s; return s; } } /** *
     * The name of the resource whose write status is being requested.
     * 
* * string resource_name = 1; * @return The bytes for resourceName. */ @java.lang.Override public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = 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(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } 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(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); } 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest)) { return super.equals(obj); } com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest other = (com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest) obj; if (!getResourceName() .equals(other.getResourceName())) 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) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest 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(com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest 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; } /** *
     * Request object for ByteStream.QueryWriteStatus.
     * 
* * Protobuf type {@code google.bytestream.QueryWriteStatusRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bytestream.QueryWriteStatusRequest) com.google.bytestream.ByteStreamProto.QueryWriteStatusRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.class, com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.Builder.class); } // Construct using com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resourceName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusRequest_descriptor; } @java.lang.Override public com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest getDefaultInstanceForType() { return com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.getDefaultInstance(); } @java.lang.Override public com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest build() { com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest buildPartial() { com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest result = new com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resourceName_ = resourceName_; } } @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 com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest) { return mergeFrom((com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest other) { if (other == com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest.getDefaultInstance()) return this; if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; bitField0_ |= 0x00000001; 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: { resourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 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 resourceName_ = ""; /** *
       * The name of the resource whose write status is being requested.
       * 
* * string resource_name = 1; * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the resource whose write status is being requested.
       * 
* * string resource_name = 1; * @return The bytes for resourceName. */ public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the resource whose write status is being requested.
       * 
* * string resource_name = 1; * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The name of the resource whose write status is being requested.
       * 
* * string resource_name = 1; * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The name of the resource whose write status is being requested.
       * 
* * string resource_name = 1; * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; bitField0_ |= 0x00000001; 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:google.bytestream.QueryWriteStatusRequest) } // @@protoc_insertion_point(class_scope:google.bytestream.QueryWriteStatusRequest) private static final com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest(); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryWriteStatusRequest 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryWriteStatusResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bytestream.QueryWriteStatusResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The number of bytes that have been processed for the given resource.
     * 
* * int64 committed_size = 1; * @return The committedSize. */ long getCommittedSize(); /** *
     * `complete` is `true` only if the client has sent a `WriteRequest` with
     * `finish_write` set to true, and the server has processed that request.
     * 
* * bool complete = 2; * @return The complete. */ boolean getComplete(); } /** *
   * Response object for ByteStream.QueryWriteStatus.
   * 
* * Protobuf type {@code google.bytestream.QueryWriteStatusResponse} */ public static final class QueryWriteStatusResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bytestream.QueryWriteStatusResponse) QueryWriteStatusResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryWriteStatusResponse.newBuilder() to construct. private QueryWriteStatusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryWriteStatusResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryWriteStatusResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.class, com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.Builder.class); } public static final int COMMITTED_SIZE_FIELD_NUMBER = 1; private long committedSize_ = 0L; /** *
     * The number of bytes that have been processed for the given resource.
     * 
* * int64 committed_size = 1; * @return The committedSize. */ @java.lang.Override public long getCommittedSize() { return committedSize_; } public static final int COMPLETE_FIELD_NUMBER = 2; private boolean complete_ = false; /** *
     * `complete` is `true` only if the client has sent a `WriteRequest` with
     * `finish_write` set to true, and the server has processed that request.
     * 
* * bool complete = 2; * @return The complete. */ @java.lang.Override public boolean getComplete() { return complete_; } 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 (committedSize_ != 0L) { output.writeInt64(1, committedSize_); } if (complete_ != false) { output.writeBool(2, complete_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (committedSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, committedSize_); } if (complete_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, complete_); } 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse)) { return super.equals(obj); } com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse other = (com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse) obj; if (getCommittedSize() != other.getCommittedSize()) return false; if (getComplete() != other.getComplete()) 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) + COMMITTED_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCommittedSize()); hash = (37 * hash) + COMPLETE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getComplete()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse 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(com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse 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; } /** *
     * Response object for ByteStream.QueryWriteStatus.
     * 
* * Protobuf type {@code google.bytestream.QueryWriteStatusResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bytestream.QueryWriteStatusResponse) com.google.bytestream.ByteStreamProto.QueryWriteStatusResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.class, com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.Builder.class); } // Construct using com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; committedSize_ = 0L; complete_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bytestream.ByteStreamProto.internal_static_google_bytestream_QueryWriteStatusResponse_descriptor; } @java.lang.Override public com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse getDefaultInstanceForType() { return com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.getDefaultInstance(); } @java.lang.Override public com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse build() { com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse buildPartial() { com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse result = new com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.committedSize_ = committedSize_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.complete_ = complete_; } } @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 com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse) { return mergeFrom((com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse other) { if (other == com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.getDefaultInstance()) return this; if (other.getCommittedSize() != 0L) { setCommittedSize(other.getCommittedSize()); } if (other.getComplete() != false) { setComplete(other.getComplete()); } 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 8: { committedSize_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { complete_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 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 long committedSize_ ; /** *
       * The number of bytes that have been processed for the given resource.
       * 
* * int64 committed_size = 1; * @return The committedSize. */ @java.lang.Override public long getCommittedSize() { return committedSize_; } /** *
       * The number of bytes that have been processed for the given resource.
       * 
* * int64 committed_size = 1; * @param value The committedSize to set. * @return This builder for chaining. */ public Builder setCommittedSize(long value) { committedSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The number of bytes that have been processed for the given resource.
       * 
* * int64 committed_size = 1; * @return This builder for chaining. */ public Builder clearCommittedSize() { bitField0_ = (bitField0_ & ~0x00000001); committedSize_ = 0L; onChanged(); return this; } private boolean complete_ ; /** *
       * `complete` is `true` only if the client has sent a `WriteRequest` with
       * `finish_write` set to true, and the server has processed that request.
       * 
* * bool complete = 2; * @return The complete. */ @java.lang.Override public boolean getComplete() { return complete_; } /** *
       * `complete` is `true` only if the client has sent a `WriteRequest` with
       * `finish_write` set to true, and the server has processed that request.
       * 
* * bool complete = 2; * @param value The complete to set. * @return This builder for chaining. */ public Builder setComplete(boolean value) { complete_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * `complete` is `true` only if the client has sent a `WriteRequest` with
       * `finish_write` set to true, and the server has processed that request.
       * 
* * bool complete = 2; * @return This builder for chaining. */ public Builder clearComplete() { bitField0_ = (bitField0_ & ~0x00000002); complete_ = false; 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:google.bytestream.QueryWriteStatusResponse) } // @@protoc_insertion_point(class_scope:google.bytestream.QueryWriteStatusResponse) private static final com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse(); } public static com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryWriteStatusResponse 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 com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bytestream_ReadRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bytestream_ReadRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bytestream_ReadResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bytestream_ReadResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bytestream_WriteRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bytestream_WriteRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bytestream_WriteResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bytestream_WriteResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bytestream_QueryWriteStatusRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bytestream_QueryWriteStatusRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bytestream_QueryWriteStatusResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bytestream_QueryWriteStatusResponse_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\"google/bytestream/bytestream.proto\022\021go" + "ogle.bytestream\032\034google/api/annotations." + "proto\032\036google/protobuf/wrappers.proto\"M\n" + "\013ReadRequest\022\025\n\rresource_name\030\001 \001(\t\022\023\n\013r" + "ead_offset\030\002 \001(\003\022\022\n\nread_limit\030\003 \001(\003\"\034\n\014" + "ReadResponse\022\014\n\004data\030\n \001(\014\"_\n\014WriteReque" + "st\022\025\n\rresource_name\030\001 \001(\t\022\024\n\014write_offse" + "t\030\002 \001(\003\022\024\n\014finish_write\030\003 \001(\010\022\014\n\004data\030\n " + "\001(\014\"\'\n\rWriteResponse\022\026\n\016committed_size\030\001" + " \001(\003\"0\n\027QueryWriteStatusRequest\022\025\n\rresou" + "rce_name\030\001 \001(\t\"D\n\030QueryWriteStatusRespon" + "se\022\026\n\016committed_size\030\001 \001(\003\022\020\n\010complete\030\002" + " \001(\0102\222\002\n\nByteStream\022I\n\004Read\022\036.google.byt" + "estream.ReadRequest\032\037.google.bytestream." + "ReadResponse0\001\022L\n\005Write\022\037.google.bytestr" + "eam.WriteRequest\032 .google.bytestream.Wri" + "teResponse(\001\022k\n\020QueryWriteStatus\022*.googl" + "e.bytestream.QueryWriteStatusRequest\032+.g" + "oogle.bytestream.QueryWriteStatusRespons" + "eBe\n\025com.google.bytestreamB\017ByteStreamPr" + "otoZ;google.golang.org/genproto/googleap" + "is/bytestream;bytestreamb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), }); internal_static_google_bytestream_ReadRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_bytestream_ReadRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bytestream_ReadRequest_descriptor, new java.lang.String[] { "ResourceName", "ReadOffset", "ReadLimit", }); internal_static_google_bytestream_ReadResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_bytestream_ReadResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bytestream_ReadResponse_descriptor, new java.lang.String[] { "Data", }); internal_static_google_bytestream_WriteRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_bytestream_WriteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bytestream_WriteRequest_descriptor, new java.lang.String[] { "ResourceName", "WriteOffset", "FinishWrite", "Data", }); internal_static_google_bytestream_WriteResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_bytestream_WriteResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bytestream_WriteResponse_descriptor, new java.lang.String[] { "CommittedSize", }); internal_static_google_bytestream_QueryWriteStatusRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_bytestream_QueryWriteStatusRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bytestream_QueryWriteStatusRequest_descriptor, new java.lang.String[] { "ResourceName", }); internal_static_google_bytestream_QueryWriteStatusResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_bytestream_QueryWriteStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bytestream_QueryWriteStatusResponse_descriptor, new java.lang.String[] { "CommittedSize", "Complete", }); com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy