xyz.block.ftl.v1.CallRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xyz/block/ftl/v1/verb.proto
// Protobuf Java Version: 3.25.4
package xyz.block.ftl.v1;
/**
* Protobuf type {@code xyz.block.ftl.v1.CallRequest}
*/
public final class CallRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:xyz.block.ftl.v1.CallRequest)
CallRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CallRequest.newBuilder() to construct.
private CallRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CallRequest() {
body_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CallRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.Verb.internal_static_xyz_block_ftl_v1_CallRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return xyz.block.ftl.v1.Verb.internal_static_xyz_block_ftl_v1_CallRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.CallRequest.class, xyz.block.ftl.v1.CallRequest.Builder.class);
}
private int bitField0_;
public static final int METADATA_FIELD_NUMBER = 1;
private xyz.block.ftl.v1.Metadata metadata_;
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
* @return Whether the metadata field is set.
*/
@java.lang.Override
public boolean hasMetadata() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
* @return The metadata.
*/
@java.lang.Override
public xyz.block.ftl.v1.Metadata getMetadata() {
return metadata_ == null ? xyz.block.ftl.v1.Metadata.getDefaultInstance() : metadata_;
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
@java.lang.Override
public xyz.block.ftl.v1.MetadataOrBuilder getMetadataOrBuilder() {
return metadata_ == null ? xyz.block.ftl.v1.Metadata.getDefaultInstance() : metadata_;
}
public static final int VERB_FIELD_NUMBER = 2;
private xyz.block.ftl.v1.schema.Ref verb_;
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
* @return Whether the verb field is set.
*/
@java.lang.Override
public boolean hasVerb() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
* @return The verb.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.Ref getVerb() {
return verb_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verb_;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.RefOrBuilder getVerbOrBuilder() {
return verb_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verb_;
}
public static final int BODY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes body = 3;
* @return The body.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBody() {
return body_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getMetadata());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getVerb());
}
if (!body_.isEmpty()) {
output.writeBytes(3, body_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMetadata());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getVerb());
}
if (!body_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, body_);
}
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 xyz.block.ftl.v1.CallRequest)) {
return super.equals(obj);
}
xyz.block.ftl.v1.CallRequest other = (xyz.block.ftl.v1.CallRequest) obj;
if (hasMetadata() != other.hasMetadata()) return false;
if (hasMetadata()) {
if (!getMetadata()
.equals(other.getMetadata())) return false;
}
if (hasVerb() != other.hasVerb()) return false;
if (hasVerb()) {
if (!getVerb()
.equals(other.getVerb())) return false;
}
if (!getBody()
.equals(other.getBody())) 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 (hasMetadata()) {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
}
if (hasVerb()) {
hash = (37 * hash) + VERB_FIELD_NUMBER;
hash = (53 * hash) + getVerb().hashCode();
}
hash = (37 * hash) + BODY_FIELD_NUMBER;
hash = (53 * hash) + getBody().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static xyz.block.ftl.v1.CallRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.CallRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.CallRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.CallRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.CallRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.CallRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.CallRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.CallRequest 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 xyz.block.ftl.v1.CallRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.CallRequest 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 xyz.block.ftl.v1.CallRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.CallRequest 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(xyz.block.ftl.v1.CallRequest 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;
}
/**
* Protobuf type {@code xyz.block.ftl.v1.CallRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:xyz.block.ftl.v1.CallRequest)
xyz.block.ftl.v1.CallRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.Verb.internal_static_xyz_block_ftl_v1_CallRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return xyz.block.ftl.v1.Verb.internal_static_xyz_block_ftl_v1_CallRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.CallRequest.class, xyz.block.ftl.v1.CallRequest.Builder.class);
}
// Construct using xyz.block.ftl.v1.CallRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMetadataFieldBuilder();
getVerbFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
metadata_ = null;
if (metadataBuilder_ != null) {
metadataBuilder_.dispose();
metadataBuilder_ = null;
}
verb_ = null;
if (verbBuilder_ != null) {
verbBuilder_.dispose();
verbBuilder_ = null;
}
body_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return xyz.block.ftl.v1.Verb.internal_static_xyz_block_ftl_v1_CallRequest_descriptor;
}
@java.lang.Override
public xyz.block.ftl.v1.CallRequest getDefaultInstanceForType() {
return xyz.block.ftl.v1.CallRequest.getDefaultInstance();
}
@java.lang.Override
public xyz.block.ftl.v1.CallRequest build() {
xyz.block.ftl.v1.CallRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public xyz.block.ftl.v1.CallRequest buildPartial() {
xyz.block.ftl.v1.CallRequest result = new xyz.block.ftl.v1.CallRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(xyz.block.ftl.v1.CallRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.metadata_ = metadataBuilder_ == null
? metadata_
: metadataBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.verb_ = verbBuilder_ == null
? verb_
: verbBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.body_ = body_;
}
result.bitField0_ |= to_bitField0_;
}
@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 xyz.block.ftl.v1.CallRequest) {
return mergeFrom((xyz.block.ftl.v1.CallRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(xyz.block.ftl.v1.CallRequest other) {
if (other == xyz.block.ftl.v1.CallRequest.getDefaultInstance()) return this;
if (other.hasMetadata()) {
mergeMetadata(other.getMetadata());
}
if (other.hasVerb()) {
mergeVerb(other.getVerb());
}
if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
setBody(other.getBody());
}
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: {
input.readMessage(
getMetadataFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getVerbFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
body_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
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 xyz.block.ftl.v1.Metadata metadata_;
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.Metadata, xyz.block.ftl.v1.Metadata.Builder, xyz.block.ftl.v1.MetadataOrBuilder> metadataBuilder_;
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
* @return The metadata.
*/
public xyz.block.ftl.v1.Metadata getMetadata() {
if (metadataBuilder_ == null) {
return metadata_ == null ? xyz.block.ftl.v1.Metadata.getDefaultInstance() : metadata_;
} else {
return metadataBuilder_.getMessage();
}
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
public Builder setMetadata(xyz.block.ftl.v1.Metadata value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
} else {
metadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
public Builder setMetadata(
xyz.block.ftl.v1.Metadata.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
public Builder mergeMetadata(xyz.block.ftl.v1.Metadata value) {
if (metadataBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
metadata_ != null &&
metadata_ != xyz.block.ftl.v1.Metadata.getDefaultInstance()) {
getMetadataBuilder().mergeFrom(value);
} else {
metadata_ = value;
}
} else {
metadataBuilder_.mergeFrom(value);
}
if (metadata_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
public Builder clearMetadata() {
bitField0_ = (bitField0_ & ~0x00000001);
metadata_ = null;
if (metadataBuilder_ != null) {
metadataBuilder_.dispose();
metadataBuilder_ = null;
}
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
public xyz.block.ftl.v1.Metadata.Builder getMetadataBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
public xyz.block.ftl.v1.MetadataOrBuilder getMetadataOrBuilder() {
if (metadataBuilder_ != null) {
return metadataBuilder_.getMessageOrBuilder();
} else {
return metadata_ == null ?
xyz.block.ftl.v1.Metadata.getDefaultInstance() : metadata_;
}
}
/**
* .xyz.block.ftl.v1.Metadata metadata = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.Metadata, xyz.block.ftl.v1.Metadata.Builder, xyz.block.ftl.v1.MetadataOrBuilder>
getMetadataFieldBuilder() {
if (metadataBuilder_ == null) {
metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.Metadata, xyz.block.ftl.v1.Metadata.Builder, xyz.block.ftl.v1.MetadataOrBuilder>(
getMetadata(),
getParentForChildren(),
isClean());
metadata_ = null;
}
return metadataBuilder_;
}
private xyz.block.ftl.v1.schema.Ref verb_;
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder> verbBuilder_;
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
* @return Whether the verb field is set.
*/
public boolean hasVerb() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
* @return The verb.
*/
public xyz.block.ftl.v1.schema.Ref getVerb() {
if (verbBuilder_ == null) {
return verb_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verb_;
} else {
return verbBuilder_.getMessage();
}
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
public Builder setVerb(xyz.block.ftl.v1.schema.Ref value) {
if (verbBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
verb_ = value;
} else {
verbBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
public Builder setVerb(
xyz.block.ftl.v1.schema.Ref.Builder builderForValue) {
if (verbBuilder_ == null) {
verb_ = builderForValue.build();
} else {
verbBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
public Builder mergeVerb(xyz.block.ftl.v1.schema.Ref value) {
if (verbBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
verb_ != null &&
verb_ != xyz.block.ftl.v1.schema.Ref.getDefaultInstance()) {
getVerbBuilder().mergeFrom(value);
} else {
verb_ = value;
}
} else {
verbBuilder_.mergeFrom(value);
}
if (verb_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
public Builder clearVerb() {
bitField0_ = (bitField0_ & ~0x00000002);
verb_ = null;
if (verbBuilder_ != null) {
verbBuilder_.dispose();
verbBuilder_ = null;
}
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
public xyz.block.ftl.v1.schema.Ref.Builder getVerbBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getVerbFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
public xyz.block.ftl.v1.schema.RefOrBuilder getVerbOrBuilder() {
if (verbBuilder_ != null) {
return verbBuilder_.getMessageOrBuilder();
} else {
return verb_ == null ?
xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verb_;
}
}
/**
* .xyz.block.ftl.v1.schema.Ref verb = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>
getVerbFieldBuilder() {
if (verbBuilder_ == null) {
verbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>(
getVerb(),
getParentForChildren(),
isClean());
verb_ = null;
}
return verbBuilder_;
}
private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes body = 3;
* @return The body.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBody() {
return body_;
}
/**
* bytes body = 3;
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
body_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* bytes body = 3;
* @return This builder for chaining.
*/
public Builder clearBody() {
bitField0_ = (bitField0_ & ~0x00000004);
body_ = getDefaultInstance().getBody();
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:xyz.block.ftl.v1.CallRequest)
}
// @@protoc_insertion_point(class_scope:xyz.block.ftl.v1.CallRequest)
private static final xyz.block.ftl.v1.CallRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new xyz.block.ftl.v1.CallRequest();
}
public static xyz.block.ftl.v1.CallRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CallRequest 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 xyz.block.ftl.v1.CallRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy