com.dimajix.flowman.kernel.proto.target.GetTargetResponse Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: target.proto
package com.dimajix.flowman.kernel.proto.target;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.target.GetTargetResponse}
*/
public final class GetTargetResponse extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.target.GetTargetResponse)
GetTargetResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTargetResponse.newBuilder() to construct.
private GetTargetResponse(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTargetResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTargetResponse();
}
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.target.TargetProto.internal_static_com_dimajix_flowman_kernel_target_GetTargetResponse_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.target.TargetProto.internal_static_com_dimajix_flowman_kernel_target_GetTargetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.target.GetTargetResponse.class, com.dimajix.flowman.kernel.proto.target.GetTargetResponse.Builder.class);
}
public static final int TARGET_FIELD_NUMBER = 2;
private com.dimajix.flowman.kernel.proto.target.TargetDetails target_;
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
* @return Whether the target field is set.
*/
@java.lang.Override
public boolean hasTarget() {
return target_ != null;
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
* @return The target.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.target.TargetDetails getTarget() {
return target_ == null ? com.dimajix.flowman.kernel.proto.target.TargetDetails.getDefaultInstance() : target_;
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.target.TargetDetailsOrBuilder getTargetOrBuilder() {
return target_ == null ? com.dimajix.flowman.kernel.proto.target.TargetDetails.getDefaultInstance() : target_;
}
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.dimajix.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (target_ != null) {
output.writeMessage(2, getTarget());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (target_ != null) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, getTarget());
}
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.dimajix.flowman.kernel.proto.target.GetTargetResponse)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.target.GetTargetResponse other = (com.dimajix.flowman.kernel.proto.target.GetTargetResponse) obj;
if (hasTarget() != other.hasTarget()) return false;
if (hasTarget()) {
if (!getTarget()
.equals(other.getTarget())) 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();
if (hasTarget()) {
hash = (37 * hash) + TARGET_FIELD_NUMBER;
hash = (53 * hash) + getTarget().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
java.nio.ByteBuffer data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
com.dimajix.shaded.protobuf.ByteString data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
com.dimajix.shaded.protobuf.ByteString data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
byte[] data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseDelimitedFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.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.dimajix.flowman.kernel.proto.target.GetTargetResponse 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.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.dimajix.flowman.kernel.target.GetTargetResponse}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.target.GetTargetResponse)
com.dimajix.flowman.kernel.proto.target.GetTargetResponseOrBuilder {
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.target.TargetProto.internal_static_com_dimajix_flowman_kernel_target_GetTargetResponse_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.target.TargetProto.internal_static_com_dimajix_flowman_kernel_target_GetTargetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.target.GetTargetResponse.class, com.dimajix.flowman.kernel.proto.target.GetTargetResponse.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.target.GetTargetResponse.newBuilder()
private Builder() {
}
private Builder(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
target_ = null;
if (targetBuilder_ != null) {
targetBuilder_.dispose();
targetBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.target.TargetProto.internal_static_com_dimajix_flowman_kernel_target_GetTargetResponse_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.target.GetTargetResponse getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.target.GetTargetResponse.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.target.GetTargetResponse build() {
com.dimajix.flowman.kernel.proto.target.GetTargetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.target.GetTargetResponse buildPartial() {
com.dimajix.flowman.kernel.proto.target.GetTargetResponse result = new com.dimajix.flowman.kernel.proto.target.GetTargetResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.target.GetTargetResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.target_ = targetBuilder_ == null
? target_
: targetBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.dimajix.shaded.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.target.GetTargetResponse) {
return mergeFrom((com.dimajix.flowman.kernel.proto.target.GetTargetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.target.GetTargetResponse other) {
if (other == com.dimajix.flowman.kernel.proto.target.GetTargetResponse.getDefaultInstance()) return this;
if (other.hasTarget()) {
mergeTarget(other.getTarget());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.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 18: {
input.readMessage(
getTargetFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.dimajix.flowman.kernel.proto.target.TargetDetails target_;
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.target.TargetDetails, com.dimajix.flowman.kernel.proto.target.TargetDetails.Builder, com.dimajix.flowman.kernel.proto.target.TargetDetailsOrBuilder> targetBuilder_;
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
* @return Whether the target field is set.
*/
public boolean hasTarget() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
* @return The target.
*/
public com.dimajix.flowman.kernel.proto.target.TargetDetails getTarget() {
if (targetBuilder_ == null) {
return target_ == null ? com.dimajix.flowman.kernel.proto.target.TargetDetails.getDefaultInstance() : target_;
} else {
return targetBuilder_.getMessage();
}
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
public Builder setTarget(com.dimajix.flowman.kernel.proto.target.TargetDetails value) {
if (targetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
target_ = value;
} else {
targetBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
public Builder setTarget(
com.dimajix.flowman.kernel.proto.target.TargetDetails.Builder builderForValue) {
if (targetBuilder_ == null) {
target_ = builderForValue.build();
} else {
targetBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
public Builder mergeTarget(com.dimajix.flowman.kernel.proto.target.TargetDetails value) {
if (targetBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
target_ != null &&
target_ != com.dimajix.flowman.kernel.proto.target.TargetDetails.getDefaultInstance()) {
getTargetBuilder().mergeFrom(value);
} else {
target_ = value;
}
} else {
targetBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
public Builder clearTarget() {
bitField0_ = (bitField0_ & ~0x00000001);
target_ = null;
if (targetBuilder_ != null) {
targetBuilder_.dispose();
targetBuilder_ = null;
}
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
public com.dimajix.flowman.kernel.proto.target.TargetDetails.Builder getTargetBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTargetFieldBuilder().getBuilder();
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
public com.dimajix.flowman.kernel.proto.target.TargetDetailsOrBuilder getTargetOrBuilder() {
if (targetBuilder_ != null) {
return targetBuilder_.getMessageOrBuilder();
} else {
return target_ == null ?
com.dimajix.flowman.kernel.proto.target.TargetDetails.getDefaultInstance() : target_;
}
}
/**
* .com.dimajix.flowman.kernel.target.TargetDetails target = 2;
*/
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.target.TargetDetails, com.dimajix.flowman.kernel.proto.target.TargetDetails.Builder, com.dimajix.flowman.kernel.proto.target.TargetDetailsOrBuilder>
getTargetFieldBuilder() {
if (targetBuilder_ == null) {
targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.target.TargetDetails, com.dimajix.flowman.kernel.proto.target.TargetDetails.Builder, com.dimajix.flowman.kernel.proto.target.TargetDetailsOrBuilder>(
getTarget(),
getParentForChildren(),
isClean());
target_ = null;
}
return targetBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.dimajix.flowman.kernel.target.GetTargetResponse)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.target.GetTargetResponse)
private static final com.dimajix.flowman.kernel.proto.target.GetTargetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.target.GetTargetResponse();
}
public static com.dimajix.flowman.kernel.proto.target.GetTargetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTargetResponse parsePartialFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.dimajix.shaded.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.dimajix.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.target.GetTargetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy