Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.tensorflow.distruntime.RecvBufResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/worker.proto
package org.tensorflow.distruntime;
/**
*
* Use of the fields below may vary by implementation. Comments give
* intended use.
*
*
* Protobuf type {@code tensorflow.RecvBufResponse}
*/
public final class RecvBufResponse extends
org.nd4j.shade.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.RecvBufResponse)
RecvBufResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecvBufResponse.newBuilder() to construct.
private RecvBufResponse(org.nd4j.shade.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private RecvBufResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecvBufResponse();
}
@java.lang.Override
public final org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RecvBufResponse(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
org.nd4j.shade.protobuf.UnknownFieldSet.Builder unknownFields =
org.nd4j.shade.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
bufPtr_ = input.readFixed64();
break;
}
case 16: {
numBytes_ = input.readInt64();
break;
}
case 24: {
isDead_ = input.readBool();
break;
}
case 34: {
org.nd4j.shade.protobuf.Any.Builder subBuilder = null;
if (transportOptions_ != null) {
subBuilder = transportOptions_.toBuilder();
}
transportOptions_ = input.readMessage(org.nd4j.shade.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transportOptions_);
transportOptions_ = subBuilder.buildPartial();
}
break;
}
case 40: {
sendStartMicros_ = input.readInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.nd4j.shade.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.distruntime.WorkerProtos.internal_static_tensorflow_RecvBufResponse_descriptor;
}
@java.lang.Override
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.distruntime.WorkerProtos.internal_static_tensorflow_RecvBufResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.distruntime.RecvBufResponse.class, org.tensorflow.distruntime.RecvBufResponse.Builder.class);
}
public static final int BUF_PTR_FIELD_NUMBER = 1;
private long bufPtr_;
/**
*
* Address of source field on server.
*
*
* fixed64 buf_ptr = 1;
* @return The bufPtr.
*/
@java.lang.Override
public long getBufPtr() {
return bufPtr_;
}
public static final int NUM_BYTES_FIELD_NUMBER = 2;
private long numBytes_;
/**
*
* Byte length of buf_ptr field, if set.
*
*
* int64 num_bytes = 2;
* @return The numBytes.
*/
@java.lang.Override
public long getNumBytes() {
return numBytes_;
}
public static final int IS_DEAD_FIELD_NUMBER = 3;
private boolean isDead_;
/**
*
* True if value is 'dead' like a tensor.
*
*
* bool is_dead = 3;
* @return The isDead.
*/
@java.lang.Override
public boolean getIsDead() {
return isDead_;
}
public static final int TRANSPORT_OPTIONS_FIELD_NUMBER = 4;
private org.nd4j.shade.protobuf.Any transportOptions_;
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
* @return Whether the transportOptions field is set.
*/
@java.lang.Override
public boolean hasTransportOptions() {
return transportOptions_ != null;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
* @return The transportOptions.
*/
@java.lang.Override
public org.nd4j.shade.protobuf.Any getTransportOptions() {
return transportOptions_ == null ? org.nd4j.shade.protobuf.Any.getDefaultInstance() : transportOptions_;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
@java.lang.Override
public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder() {
return getTransportOptions();
}
public static final int SEND_START_MICROS_FIELD_NUMBER = 5;
private long sendStartMicros_;
/**
*
* Optional, for timeline.
*
*
* int64 send_start_micros = 5;
* @return The sendStartMicros.
*/
@java.lang.Override
public long getSendStartMicros() {
return sendStartMicros_;
}
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(org.nd4j.shade.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (bufPtr_ != 0L) {
output.writeFixed64(1, bufPtr_);
}
if (numBytes_ != 0L) {
output.writeInt64(2, numBytes_);
}
if (isDead_ != false) {
output.writeBool(3, isDead_);
}
if (transportOptions_ != null) {
output.writeMessage(4, getTransportOptions());
}
if (sendStartMicros_ != 0L) {
output.writeInt64(5, sendStartMicros_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (bufPtr_ != 0L) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeFixed64Size(1, bufPtr_);
}
if (numBytes_ != 0L) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeInt64Size(2, numBytes_);
}
if (isDead_ != false) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeBoolSize(3, isDead_);
}
if (transportOptions_ != null) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeMessageSize(4, getTransportOptions());
}
if (sendStartMicros_ != 0L) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeInt64Size(5, sendStartMicros_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.tensorflow.distruntime.RecvBufResponse)) {
return super.equals(obj);
}
org.tensorflow.distruntime.RecvBufResponse other = (org.tensorflow.distruntime.RecvBufResponse) obj;
if (getBufPtr()
!= other.getBufPtr()) return false;
if (getNumBytes()
!= other.getNumBytes()) return false;
if (getIsDead()
!= other.getIsDead()) return false;
if (hasTransportOptions() != other.hasTransportOptions()) return false;
if (hasTransportOptions()) {
if (!getTransportOptions()
.equals(other.getTransportOptions())) return false;
}
if (getSendStartMicros()
!= other.getSendStartMicros()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BUF_PTR_FIELD_NUMBER;
hash = (53 * hash) + org.nd4j.shade.protobuf.Internal.hashLong(
getBufPtr());
hash = (37 * hash) + NUM_BYTES_FIELD_NUMBER;
hash = (53 * hash) + org.nd4j.shade.protobuf.Internal.hashLong(
getNumBytes());
hash = (37 * hash) + IS_DEAD_FIELD_NUMBER;
hash = (53 * hash) + org.nd4j.shade.protobuf.Internal.hashBoolean(
getIsDead());
if (hasTransportOptions()) {
hash = (37 * hash) + TRANSPORT_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getTransportOptions().hashCode();
}
hash = (37 * hash) + SEND_START_MICROS_FIELD_NUMBER;
hash = (53 * hash) + org.nd4j.shade.protobuf.Internal.hashLong(
getSendStartMicros());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
java.nio.ByteBuffer data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
java.nio.ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
org.nd4j.shade.protobuf.ByteString data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(byte[] data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
java.io.InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.tensorflow.distruntime.RecvBufResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.distruntime.RecvBufResponse parseDelimitedFrom(
java.io.InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
org.nd4j.shade.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.distruntime.RecvBufResponse parseFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.nd4j.shade.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(org.tensorflow.distruntime.RecvBufResponse 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(
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Use of the fields below may vary by implementation. Comments give
* intended use.
*
*
* Protobuf type {@code tensorflow.RecvBufResponse}
*/
public static final class Builder extends
org.nd4j.shade.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.RecvBufResponse)
org.tensorflow.distruntime.RecvBufResponseOrBuilder {
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.distruntime.WorkerProtos.internal_static_tensorflow_RecvBufResponse_descriptor;
}
@java.lang.Override
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.distruntime.WorkerProtos.internal_static_tensorflow_RecvBufResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.distruntime.RecvBufResponse.class, org.tensorflow.distruntime.RecvBufResponse.Builder.class);
}
// Construct using org.tensorflow.distruntime.RecvBufResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.nd4j.shade.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bufPtr_ = 0L;
numBytes_ = 0L;
isDead_ = false;
if (transportOptionsBuilder_ == null) {
transportOptions_ = null;
} else {
transportOptions_ = null;
transportOptionsBuilder_ = null;
}
sendStartMicros_ = 0L;
return this;
}
@java.lang.Override
public org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.tensorflow.distruntime.WorkerProtos.internal_static_tensorflow_RecvBufResponse_descriptor;
}
@java.lang.Override
public org.tensorflow.distruntime.RecvBufResponse getDefaultInstanceForType() {
return org.tensorflow.distruntime.RecvBufResponse.getDefaultInstance();
}
@java.lang.Override
public org.tensorflow.distruntime.RecvBufResponse build() {
org.tensorflow.distruntime.RecvBufResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.tensorflow.distruntime.RecvBufResponse buildPartial() {
org.tensorflow.distruntime.RecvBufResponse result = new org.tensorflow.distruntime.RecvBufResponse(this);
result.bufPtr_ = bufPtr_;
result.numBytes_ = numBytes_;
result.isDead_ = isDead_;
if (transportOptionsBuilder_ == null) {
result.transportOptions_ = transportOptions_;
} else {
result.transportOptions_ = transportOptionsBuilder_.build();
}
result.sendStartMicros_ = sendStartMicros_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.nd4j.shade.protobuf.Message other) {
if (other instanceof org.tensorflow.distruntime.RecvBufResponse) {
return mergeFrom((org.tensorflow.distruntime.RecvBufResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.tensorflow.distruntime.RecvBufResponse other) {
if (other == org.tensorflow.distruntime.RecvBufResponse.getDefaultInstance()) return this;
if (other.getBufPtr() != 0L) {
setBufPtr(other.getBufPtr());
}
if (other.getNumBytes() != 0L) {
setNumBytes(other.getNumBytes());
}
if (other.getIsDead() != false) {
setIsDead(other.getIsDead());
}
if (other.hasTransportOptions()) {
mergeTransportOptions(other.getTransportOptions());
}
if (other.getSendStartMicros() != 0L) {
setSendStartMicros(other.getSendStartMicros());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.tensorflow.distruntime.RecvBufResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.tensorflow.distruntime.RecvBufResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long bufPtr_ ;
/**
*
* Address of source field on server.
*
*
* fixed64 buf_ptr = 1;
* @return The bufPtr.
*/
@java.lang.Override
public long getBufPtr() {
return bufPtr_;
}
/**
*
* Address of source field on server.
*
*
* fixed64 buf_ptr = 1;
* @param value The bufPtr to set.
* @return This builder for chaining.
*/
public Builder setBufPtr(long value) {
bufPtr_ = value;
onChanged();
return this;
}
/**
*
* Address of source field on server.
*
*
* fixed64 buf_ptr = 1;
* @return This builder for chaining.
*/
public Builder clearBufPtr() {
bufPtr_ = 0L;
onChanged();
return this;
}
private long numBytes_ ;
/**
*
* Byte length of buf_ptr field, if set.
*
*
* int64 num_bytes = 2;
* @return The numBytes.
*/
@java.lang.Override
public long getNumBytes() {
return numBytes_;
}
/**
*
* Byte length of buf_ptr field, if set.
*
*
* int64 num_bytes = 2;
* @param value The numBytes to set.
* @return This builder for chaining.
*/
public Builder setNumBytes(long value) {
numBytes_ = value;
onChanged();
return this;
}
/**
*
* Byte length of buf_ptr field, if set.
*
*
* int64 num_bytes = 2;
* @return This builder for chaining.
*/
public Builder clearNumBytes() {
numBytes_ = 0L;
onChanged();
return this;
}
private boolean isDead_ ;
/**
*
* True if value is 'dead' like a tensor.
*
*
* bool is_dead = 3;
* @return The isDead.
*/
@java.lang.Override
public boolean getIsDead() {
return isDead_;
}
/**
*
* True if value is 'dead' like a tensor.
*
*
* bool is_dead = 3;
* @param value The isDead to set.
* @return This builder for chaining.
*/
public Builder setIsDead(boolean value) {
isDead_ = value;
onChanged();
return this;
}
/**
*
* True if value is 'dead' like a tensor.
*
*
* bool is_dead = 3;
* @return This builder for chaining.
*/
public Builder clearIsDead() {
isDead_ = false;
onChanged();
return this;
}
private org.nd4j.shade.protobuf.Any transportOptions_;
private org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.nd4j.shade.protobuf.Any, org.nd4j.shade.protobuf.Any.Builder, org.nd4j.shade.protobuf.AnyOrBuilder> transportOptionsBuilder_;
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
* @return Whether the transportOptions field is set.
*/
public boolean hasTransportOptions() {
return transportOptionsBuilder_ != null || transportOptions_ != null;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
* @return The transportOptions.
*/
public org.nd4j.shade.protobuf.Any getTransportOptions() {
if (transportOptionsBuilder_ == null) {
return transportOptions_ == null ? org.nd4j.shade.protobuf.Any.getDefaultInstance() : transportOptions_;
} else {
return transportOptionsBuilder_.getMessage();
}
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
public Builder setTransportOptions(org.nd4j.shade.protobuf.Any value) {
if (transportOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transportOptions_ = value;
onChanged();
} else {
transportOptionsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
public Builder setTransportOptions(
org.nd4j.shade.protobuf.Any.Builder builderForValue) {
if (transportOptionsBuilder_ == null) {
transportOptions_ = builderForValue.build();
onChanged();
} else {
transportOptionsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
public Builder mergeTransportOptions(org.nd4j.shade.protobuf.Any value) {
if (transportOptionsBuilder_ == null) {
if (transportOptions_ != null) {
transportOptions_ =
org.nd4j.shade.protobuf.Any.newBuilder(transportOptions_).mergeFrom(value).buildPartial();
} else {
transportOptions_ = value;
}
onChanged();
} else {
transportOptionsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
public Builder clearTransportOptions() {
if (transportOptionsBuilder_ == null) {
transportOptions_ = null;
onChanged();
} else {
transportOptions_ = null;
transportOptionsBuilder_ = null;
}
return this;
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
public org.nd4j.shade.protobuf.Any.Builder getTransportOptionsBuilder() {
onChanged();
return getTransportOptionsFieldBuilder().getBuilder();
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder() {
if (transportOptionsBuilder_ != null) {
return transportOptionsBuilder_.getMessageOrBuilder();
} else {
return transportOptions_ == null ?
org.nd4j.shade.protobuf.Any.getDefaultInstance() : transportOptions_;
}
}
/**
*
* Optional, implementation-specific data.
*
*
* .google.protobuf.Any transport_options = 4;
*/
private org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.nd4j.shade.protobuf.Any, org.nd4j.shade.protobuf.Any.Builder, org.nd4j.shade.protobuf.AnyOrBuilder>
getTransportOptionsFieldBuilder() {
if (transportOptionsBuilder_ == null) {
transportOptionsBuilder_ = new org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.nd4j.shade.protobuf.Any, org.nd4j.shade.protobuf.Any.Builder, org.nd4j.shade.protobuf.AnyOrBuilder>(
getTransportOptions(),
getParentForChildren(),
isClean());
transportOptions_ = null;
}
return transportOptionsBuilder_;
}
private long sendStartMicros_ ;
/**
*
* Optional, for timeline.
*
*
* int64 send_start_micros = 5;
* @return The sendStartMicros.
*/
@java.lang.Override
public long getSendStartMicros() {
return sendStartMicros_;
}
/**
*
* Optional, for timeline.
*
*
* int64 send_start_micros = 5;
* @param value The sendStartMicros to set.
* @return This builder for chaining.
*/
public Builder setSendStartMicros(long value) {
sendStartMicros_ = value;
onChanged();
return this;
}
/**
*
* Optional, for timeline.
*
*
* int64 send_start_micros = 5;
* @return This builder for chaining.
*/
public Builder clearSendStartMicros() {
sendStartMicros_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tensorflow.RecvBufResponse)
}
// @@protoc_insertion_point(class_scope:tensorflow.RecvBufResponse)
private static final org.tensorflow.distruntime.RecvBufResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.tensorflow.distruntime.RecvBufResponse();
}
public static org.tensorflow.distruntime.RecvBufResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.nd4j.shade.protobuf.Parser
PARSER = new org.nd4j.shade.protobuf.AbstractParser() {
@java.lang.Override
public RecvBufResponse parsePartialFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return new RecvBufResponse(input, extensionRegistry);
}
};
public static org.nd4j.shade.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.nd4j.shade.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.tensorflow.distruntime.RecvBufResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}