/** * * * <pre> * The output location and metadata from AsyncAnnotateFileRequest. * </pre> * * <code>.google.cloud.vision.v1.OutputConfig output_config = 1;</code> */ public com.google.cloud.vision.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (outputConfig_ != null) { output.writeMessage(1, getOutputConfig()); } unknownFields.writeTo(output); }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (outputConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); } 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 com.google.cloud.vision.v1.AsyncAnnotateFileResponse)) { return super.equals(obj); } com.google.cloud.vision.v1.AsyncAnnotateFileResponse other = (com.google.cloud.vision.v1.AsyncAnnotateFileResponse) obj; boolean result = true; result = result && (hasOutputConfig() == other.hasOutputConfig()); if (hasOutputConfig()) { result = result && getOutputConfig().equals(other.getOutputConfig()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOutputConfig()) { hash = (37 * hash) + OUTPUT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getOutputConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.cloud.vision.v1.AsyncAnnotateFileResponse other) { if (other == com.google.cloud.vision.v1.AsyncAnnotateFileResponse.getDefaultInstance()) return this; if (other.hasOutputConfig()) { mergeOutputConfig(other.getOutputConfig()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The output location and metadata from AsyncAnnotateFileRequest. * </pre> * * <code>.google.cloud.vision.v1.OutputConfig output_config = 1;</code> */ public com.google.cloud.vision.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (outputConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (outputConfig_ != null) { output.writeMessage(1, getOutputConfig()); } unknownFields.writeTo(output); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.vision.v1.AsyncAnnotateFileResponse)) { return super.equals(obj); } com.google.cloud.vision.v1.AsyncAnnotateFileResponse other = (com.google.cloud.vision.v1.AsyncAnnotateFileResponse) obj; boolean result = true; result = result && (hasOutputConfig() == other.hasOutputConfig()); if (hasOutputConfig()) { result = result && getOutputConfig().equals(other.getOutputConfig()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOutputConfig()) { hash = (37 * hash) + OUTPUT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getOutputConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.cloud.vision.v1.AsyncAnnotateFileResponse other) { if (other == com.google.cloud.vision.v1.AsyncAnnotateFileResponse.getDefaultInstance()) return this; if (other.hasOutputConfig()) { mergeOutputConfig(other.getOutputConfig()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }