![JAR search and dependency download from the Maven repository](/logo.png)
io.provenance.name.v1.MsgBindNameRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: provenance/name/v1/tx.proto
package io.provenance.name.v1;
/**
*
* MsgBindNameRequest defines an sdk.Msg type that is used to add an address/name binding under an optional parent name.
* The record may optionally be restricted to prevent additional names from being added under this one without the
* owner signing the request.
*
*
* Protobuf type {@code provenance.name.v1.MsgBindNameRequest}
*/
public final class MsgBindNameRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:provenance.name.v1.MsgBindNameRequest)
MsgBindNameRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgBindNameRequest.newBuilder() to construct.
private MsgBindNameRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgBindNameRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgBindNameRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.provenance.name.v1.NameRecord.Builder subBuilder = null;
if (parent_ != null) {
subBuilder = parent_.toBuilder();
}
parent_ = input.readMessage(io.provenance.name.v1.NameRecord.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(parent_);
parent_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.provenance.name.v1.NameRecord.Builder subBuilder = null;
if (record_ != null) {
subBuilder = record_.toBuilder();
}
record_ = input.readMessage(io.provenance.name.v1.NameRecord.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(record_);
record_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.provenance.name.v1.Tx.internal_static_provenance_name_v1_MsgBindNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.provenance.name.v1.Tx.internal_static_provenance_name_v1_MsgBindNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.provenance.name.v1.MsgBindNameRequest.class, io.provenance.name.v1.MsgBindNameRequest.Builder.class);
}
public static final int PARENT_FIELD_NUMBER = 1;
private io.provenance.name.v1.NameRecord parent_;
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParent() {
return parent_ != null;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecord getParent() {
return parent_ == null ? io.provenance.name.v1.NameRecord.getDefaultInstance() : parent_;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecordOrBuilder getParentOrBuilder() {
return getParent();
}
public static final int RECORD_FIELD_NUMBER = 2;
private io.provenance.name.v1.NameRecord record_;
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public boolean hasRecord() {
return record_ != null;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecord getRecord() {
return record_ == null ? io.provenance.name.v1.NameRecord.getDefaultInstance() : record_;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecordOrBuilder getRecordOrBuilder() {
return getRecord();
}
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 (parent_ != null) {
output.writeMessage(1, getParent());
}
if (record_ != null) {
output.writeMessage(2, getRecord());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (parent_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getParent());
}
if (record_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRecord());
}
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 io.provenance.name.v1.MsgBindNameRequest)) {
return super.equals(obj);
}
io.provenance.name.v1.MsgBindNameRequest other = (io.provenance.name.v1.MsgBindNameRequest) obj;
boolean result = true;
result = result && (hasParent() == other.hasParent());
if (hasParent()) {
result = result && getParent()
.equals(other.getParent());
}
result = result && (hasRecord() == other.hasRecord());
if (hasRecord()) {
result = result && getRecord()
.equals(other.getRecord());
}
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 (hasParent()) {
hash = (37 * hash) + PARENT_FIELD_NUMBER;
hash = (53 * hash) + getParent().hashCode();
}
if (hasRecord()) {
hash = (37 * hash) + RECORD_FIELD_NUMBER;
hash = (53 * hash) + getRecord().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.provenance.name.v1.MsgBindNameRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.provenance.name.v1.MsgBindNameRequest 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.provenance.name.v1.MsgBindNameRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.provenance.name.v1.MsgBindNameRequest 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.provenance.name.v1.MsgBindNameRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.provenance.name.v1.MsgBindNameRequest 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.provenance.name.v1.MsgBindNameRequest 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;
}
/**
*
* MsgBindNameRequest defines an sdk.Msg type that is used to add an address/name binding under an optional parent name.
* The record may optionally be restricted to prevent additional names from being added under this one without the
* owner signing the request.
*
*
* Protobuf type {@code provenance.name.v1.MsgBindNameRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:provenance.name.v1.MsgBindNameRequest)
io.provenance.name.v1.MsgBindNameRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.provenance.name.v1.Tx.internal_static_provenance_name_v1_MsgBindNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.provenance.name.v1.Tx.internal_static_provenance_name_v1_MsgBindNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.provenance.name.v1.MsgBindNameRequest.class, io.provenance.name.v1.MsgBindNameRequest.Builder.class);
}
// Construct using io.provenance.name.v1.MsgBindNameRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (parentBuilder_ == null) {
parent_ = null;
} else {
parent_ = null;
parentBuilder_ = null;
}
if (recordBuilder_ == null) {
record_ = null;
} else {
record_ = null;
recordBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.provenance.name.v1.Tx.internal_static_provenance_name_v1_MsgBindNameRequest_descriptor;
}
@java.lang.Override
public io.provenance.name.v1.MsgBindNameRequest getDefaultInstanceForType() {
return io.provenance.name.v1.MsgBindNameRequest.getDefaultInstance();
}
@java.lang.Override
public io.provenance.name.v1.MsgBindNameRequest build() {
io.provenance.name.v1.MsgBindNameRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.provenance.name.v1.MsgBindNameRequest buildPartial() {
io.provenance.name.v1.MsgBindNameRequest result = new io.provenance.name.v1.MsgBindNameRequest(this);
if (parentBuilder_ == null) {
result.parent_ = parent_;
} else {
result.parent_ = parentBuilder_.build();
}
if (recordBuilder_ == null) {
result.record_ = record_;
} else {
result.record_ = recordBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.provenance.name.v1.MsgBindNameRequest) {
return mergeFrom((io.provenance.name.v1.MsgBindNameRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.provenance.name.v1.MsgBindNameRequest other) {
if (other == io.provenance.name.v1.MsgBindNameRequest.getDefaultInstance()) return this;
if (other.hasParent()) {
mergeParent(other.getParent());
}
if (other.hasRecord()) {
mergeRecord(other.getRecord());
}
this.mergeUnknownFields(other.unknownFields);
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 {
io.provenance.name.v1.MsgBindNameRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.provenance.name.v1.MsgBindNameRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.provenance.name.v1.NameRecord parent_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.name.v1.NameRecord, io.provenance.name.v1.NameRecord.Builder, io.provenance.name.v1.NameRecordOrBuilder> parentBuilder_;
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParent() {
return parentBuilder_ != null || parent_ != null;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecord getParent() {
if (parentBuilder_ == null) {
return parent_ == null ? io.provenance.name.v1.NameRecord.getDefaultInstance() : parent_;
} else {
return parentBuilder_.getMessage();
}
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParent(io.provenance.name.v1.NameRecord value) {
if (parentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parent_ = value;
onChanged();
} else {
parentBuilder_.setMessage(value);
}
return this;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParent(
io.provenance.name.v1.NameRecord.Builder builderForValue) {
if (parentBuilder_ == null) {
parent_ = builderForValue.build();
onChanged();
} else {
parentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeParent(io.provenance.name.v1.NameRecord value) {
if (parentBuilder_ == null) {
if (parent_ != null) {
parent_ =
io.provenance.name.v1.NameRecord.newBuilder(parent_).mergeFrom(value).buildPartial();
} else {
parent_ = value;
}
onChanged();
} else {
parentBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearParent() {
if (parentBuilder_ == null) {
parent_ = null;
onChanged();
} else {
parent_ = null;
parentBuilder_ = null;
}
return this;
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecord.Builder getParentBuilder() {
onChanged();
return getParentFieldBuilder().getBuilder();
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecordOrBuilder getParentOrBuilder() {
if (parentBuilder_ != null) {
return parentBuilder_.getMessageOrBuilder();
} else {
return parent_ == null ?
io.provenance.name.v1.NameRecord.getDefaultInstance() : parent_;
}
}
/**
*
* The parent record to bind this name under.
*
*
* .provenance.name.v1.NameRecord parent = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.name.v1.NameRecord, io.provenance.name.v1.NameRecord.Builder, io.provenance.name.v1.NameRecordOrBuilder>
getParentFieldBuilder() {
if (parentBuilder_ == null) {
parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.provenance.name.v1.NameRecord, io.provenance.name.v1.NameRecord.Builder, io.provenance.name.v1.NameRecordOrBuilder>(
getParent(),
getParentForChildren(),
isClean());
parent_ = null;
}
return parentBuilder_;
}
private io.provenance.name.v1.NameRecord record_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.name.v1.NameRecord, io.provenance.name.v1.NameRecord.Builder, io.provenance.name.v1.NameRecordOrBuilder> recordBuilder_;
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public boolean hasRecord() {
return recordBuilder_ != null || record_ != null;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecord getRecord() {
if (recordBuilder_ == null) {
return record_ == null ? io.provenance.name.v1.NameRecord.getDefaultInstance() : record_;
} else {
return recordBuilder_.getMessage();
}
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public Builder setRecord(io.provenance.name.v1.NameRecord value) {
if (recordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
record_ = value;
onChanged();
} else {
recordBuilder_.setMessage(value);
}
return this;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public Builder setRecord(
io.provenance.name.v1.NameRecord.Builder builderForValue) {
if (recordBuilder_ == null) {
record_ = builderForValue.build();
onChanged();
} else {
recordBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public Builder mergeRecord(io.provenance.name.v1.NameRecord value) {
if (recordBuilder_ == null) {
if (record_ != null) {
record_ =
io.provenance.name.v1.NameRecord.newBuilder(record_).mergeFrom(value).buildPartial();
} else {
record_ = value;
}
onChanged();
} else {
recordBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public Builder clearRecord() {
if (recordBuilder_ == null) {
record_ = null;
onChanged();
} else {
record_ = null;
recordBuilder_ = null;
}
return this;
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecord.Builder getRecordBuilder() {
onChanged();
return getRecordFieldBuilder().getBuilder();
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.name.v1.NameRecordOrBuilder getRecordOrBuilder() {
if (recordBuilder_ != null) {
return recordBuilder_.getMessageOrBuilder();
} else {
return record_ == null ?
io.provenance.name.v1.NameRecord.getDefaultInstance() : record_;
}
}
/**
*
* The name record to bind under the parent
*
*
* .provenance.name.v1.NameRecord record = 2 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.name.v1.NameRecord, io.provenance.name.v1.NameRecord.Builder, io.provenance.name.v1.NameRecordOrBuilder>
getRecordFieldBuilder() {
if (recordBuilder_ == null) {
recordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.provenance.name.v1.NameRecord, io.provenance.name.v1.NameRecord.Builder, io.provenance.name.v1.NameRecordOrBuilder>(
getRecord(),
getParentForChildren(),
isClean());
record_ = null;
}
return recordBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:provenance.name.v1.MsgBindNameRequest)
}
// @@protoc_insertion_point(class_scope:provenance.name.v1.MsgBindNameRequest)
private static final io.provenance.name.v1.MsgBindNameRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.provenance.name.v1.MsgBindNameRequest();
}
public static io.provenance.name.v1.MsgBindNameRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MsgBindNameRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgBindNameRequest(input, extensionRegistry);
}
};
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.provenance.name.v1.MsgBindNameRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy