
io.numaproj.numaflow.sideinput.v1.Sideinput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of numaflow-java Show documentation
Show all versions of numaflow-java Show documentation
SDK to implement Numaflow Source or User Defined Functions or Sinks in Java.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: sideinput/v1/sideinput.proto
package io.numaproj.numaflow.sideinput.v1;
public final class Sideinput {
private Sideinput() {}
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 SideInputResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sideinput.v1.SideInputResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* value represents the latest value of the side input payload
*
*
* bytes value = 1;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
/**
*
* noBroadcast indicates whether the side input value should be broadcasted to all
* True if value should not be broadcasted
* False if value should be broadcasted
*
*
* bool no_broadcast = 2;
* @return The noBroadcast.
*/
boolean getNoBroadcast();
}
/**
*
**
* SideInputResponse represents a response to a given side input retrieval request.
*
*
* Protobuf type {@code sideinput.v1.SideInputResponse}
*/
public static final class SideInputResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sideinput.v1.SideInputResponse)
SideInputResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SideInputResponse.newBuilder() to construct.
private SideInputResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SideInputResponse() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SideInputResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_SideInputResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_SideInputResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.class, io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString value_;
/**
*
* value represents the latest value of the side input payload
*
*
* bytes value = 1;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
public static final int NO_BROADCAST_FIELD_NUMBER = 2;
private boolean noBroadcast_;
/**
*
* noBroadcast indicates whether the side input value should be broadcasted to all
* True if value should not be broadcasted
* False if value should be broadcasted
*
*
* bool no_broadcast = 2;
* @return The noBroadcast.
*/
@java.lang.Override
public boolean getNoBroadcast() {
return noBroadcast_;
}
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 (!value_.isEmpty()) {
output.writeBytes(1, value_);
}
if (noBroadcast_ != false) {
output.writeBool(2, noBroadcast_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, value_);
}
if (noBroadcast_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, noBroadcast_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse)) {
return super.equals(obj);
}
io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse other = (io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse) obj;
if (!getValue()
.equals(other.getValue())) return false;
if (getNoBroadcast()
!= other.getNoBroadcast()) 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) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (37 * hash) + NO_BROADCAST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNoBroadcast());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse 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;
}
/**
*
**
* SideInputResponse represents a response to a given side input retrieval request.
*
*
* Protobuf type {@code sideinput.v1.SideInputResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sideinput.v1.SideInputResponse)
io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_SideInputResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_SideInputResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.class, io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.Builder.class);
}
// Construct using io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = com.google.protobuf.ByteString.EMPTY;
noBroadcast_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_SideInputResponse_descriptor;
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse getDefaultInstanceForType() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.getDefaultInstance();
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse build() {
io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse buildPartial() {
io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse result = new io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse(this);
result.value_ = value_;
result.noBroadcast_ = noBroadcast_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse) {
return mergeFrom((io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse other) {
if (other == io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse.getDefaultInstance()) return this;
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
if (other.getNoBroadcast() != false) {
setNoBroadcast(other.getNoBroadcast());
}
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: {
value_ = input.readBytes();
break;
} // case 10
case 16: {
noBroadcast_ = input.readBool();
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 com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* value represents the latest value of the side input payload
*
*
* bytes value = 1;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
*
* value represents the latest value of the side input payload
*
*
* bytes value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
*
* value represents the latest value of the side input payload
*
*
* bytes value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
private boolean noBroadcast_ ;
/**
*
* noBroadcast indicates whether the side input value should be broadcasted to all
* True if value should not be broadcasted
* False if value should be broadcasted
*
*
* bool no_broadcast = 2;
* @return The noBroadcast.
*/
@java.lang.Override
public boolean getNoBroadcast() {
return noBroadcast_;
}
/**
*
* noBroadcast indicates whether the side input value should be broadcasted to all
* True if value should not be broadcasted
* False if value should be broadcasted
*
*
* bool no_broadcast = 2;
* @param value The noBroadcast to set.
* @return This builder for chaining.
*/
public Builder setNoBroadcast(boolean value) {
noBroadcast_ = value;
onChanged();
return this;
}
/**
*
* noBroadcast indicates whether the side input value should be broadcasted to all
* True if value should not be broadcasted
* False if value should be broadcasted
*
*
* bool no_broadcast = 2;
* @return This builder for chaining.
*/
public Builder clearNoBroadcast() {
noBroadcast_ = 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:sideinput.v1.SideInputResponse)
}
// @@protoc_insertion_point(class_scope:sideinput.v1.SideInputResponse)
private static final io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse();
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SideInputResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.SideInputResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ReadyResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sideinput.v1.ReadyResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bool ready = 1;
* @return The ready.
*/
boolean getReady();
}
/**
*
**
* ReadyResponse is the health check result.
*
*
* Protobuf type {@code sideinput.v1.ReadyResponse}
*/
public static final class ReadyResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sideinput.v1.ReadyResponse)
ReadyResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReadyResponse.newBuilder() to construct.
private ReadyResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReadyResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ReadyResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_ReadyResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_ReadyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.class, io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.Builder.class);
}
public static final int READY_FIELD_NUMBER = 1;
private boolean ready_;
/**
* bool ready = 1;
* @return The ready.
*/
@java.lang.Override
public boolean getReady() {
return ready_;
}
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 (ready_ != false) {
output.writeBool(1, ready_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ready_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, ready_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse)) {
return super.equals(obj);
}
io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse other = (io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse) obj;
if (getReady()
!= other.getReady()) 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) + READY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getReady());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse 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;
}
/**
*
**
* ReadyResponse is the health check result.
*
*
* Protobuf type {@code sideinput.v1.ReadyResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sideinput.v1.ReadyResponse)
io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_ReadyResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_ReadyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.class, io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.Builder.class);
}
// Construct using io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
ready_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.internal_static_sideinput_v1_ReadyResponse_descriptor;
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse getDefaultInstanceForType() {
return io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.getDefaultInstance();
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse build() {
io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse buildPartial() {
io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse result = new io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse(this);
result.ready_ = ready_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse) {
return mergeFrom((io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse other) {
if (other == io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse.getDefaultInstance()) return this;
if (other.getReady() != false) {
setReady(other.getReady());
}
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: {
ready_ = input.readBool();
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 boolean ready_ ;
/**
* bool ready = 1;
* @return The ready.
*/
@java.lang.Override
public boolean getReady() {
return ready_;
}
/**
* bool ready = 1;
* @param value The ready to set.
* @return This builder for chaining.
*/
public Builder setReady(boolean value) {
ready_ = value;
onChanged();
return this;
}
/**
* bool ready = 1;
* @return This builder for chaining.
*/
public Builder clearReady() {
ready_ = 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:sideinput.v1.ReadyResponse)
}
// @@protoc_insertion_point(class_scope:sideinput.v1.ReadyResponse)
private static final io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse();
}
public static io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ReadyResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.numaproj.numaflow.sideinput.v1.Sideinput.ReadyResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sideinput_v1_SideInputResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sideinput_v1_SideInputResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sideinput_v1_ReadyResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sideinput_v1_ReadyResponse_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\034sideinput/v1/sideinput.proto\022\014sideinpu" +
"t.v1\032\033google/protobuf/empty.proto\"8\n\021Sid" +
"eInputResponse\022\r\n\005value\030\001 \001(\014\022\024\n\014no_broa" +
"dcast\030\002 \001(\010\"\036\n\rReadyResponse\022\r\n\005ready\030\001 " +
"\001(\0102\231\001\n\tSideInput\022L\n\021RetrieveSideInput\022\026" +
".google.protobuf.Empty\032\037.sideinput.v1.Si" +
"deInputResponse\022>\n\007IsReady\022\026.google.prot" +
"obuf.Empty\032\033.sideinput.v1.ReadyResponseB" +
"#\n!io.numaproj.numaflow.sideinput.v1b\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.EmptyProto.getDescriptor(),
});
internal_static_sideinput_v1_SideInputResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_sideinput_v1_SideInputResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sideinput_v1_SideInputResponse_descriptor,
new java.lang.String[] { "Value", "NoBroadcast", });
internal_static_sideinput_v1_ReadyResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_sideinput_v1_ReadyResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sideinput_v1_ReadyResponse_descriptor,
new java.lang.String[] { "Ready", });
com.google.protobuf.EmptyProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy