![JAR search and dependency download from the Maven repository](/logo.png)
io.provenance.metadata.v1.GenesisState Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: provenance/metadata/v1/genesis.proto
package io.provenance.metadata.v1;
/**
*
* GenesisState defines the account module's genesis state.
*
*
* Protobuf type {@code provenance.metadata.v1.GenesisState}
*/
public final class GenesisState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:provenance.metadata.v1.GenesisState)
GenesisStateOrBuilder {
private static final long serialVersionUID = 0L;
// Use GenesisState.newBuilder() to construct.
private GenesisState(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GenesisState() {
scopes_ = java.util.Collections.emptyList();
sessions_ = java.util.Collections.emptyList();
records_ = java.util.Collections.emptyList();
scopeSpecifications_ = java.util.Collections.emptyList();
contractSpecifications_ = java.util.Collections.emptyList();
recordSpecifications_ = java.util.Collections.emptyList();
objectStoreLocators_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GenesisState(
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.metadata.v1.Params.Builder subBuilder = null;
if (params_ != null) {
subBuilder = params_.toBuilder();
}
params_ = input.readMessage(io.provenance.metadata.v1.Params.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(params_);
params_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
scopes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
scopes_.add(
input.readMessage(io.provenance.metadata.v1.Scope.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
sessions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
sessions_.add(
input.readMessage(io.provenance.metadata.v1.Session.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
records_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
records_.add(
input.readMessage(io.provenance.metadata.v1.Record.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
scopeSpecifications_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
scopeSpecifications_.add(
input.readMessage(io.provenance.metadata.v1.ScopeSpecification.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
contractSpecifications_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
contractSpecifications_.add(
input.readMessage(io.provenance.metadata.v1.ContractSpecification.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
recordSpecifications_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
recordSpecifications_.add(
input.readMessage(io.provenance.metadata.v1.RecordSpecification.parser(), extensionRegistry));
break;
}
case 66: {
io.provenance.metadata.v1.OSLocatorParams.Builder subBuilder = null;
if (oSLocatorParams_ != null) {
subBuilder = oSLocatorParams_.toBuilder();
}
oSLocatorParams_ = input.readMessage(io.provenance.metadata.v1.OSLocatorParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(oSLocatorParams_);
oSLocatorParams_ = subBuilder.buildPartial();
}
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
objectStoreLocators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
objectStoreLocators_.add(
input.readMessage(io.provenance.metadata.v1.ObjectStoreLocator.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
scopes_ = java.util.Collections.unmodifiableList(scopes_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
sessions_ = java.util.Collections.unmodifiableList(sessions_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
records_ = java.util.Collections.unmodifiableList(records_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
scopeSpecifications_ = java.util.Collections.unmodifiableList(scopeSpecifications_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
contractSpecifications_ = java.util.Collections.unmodifiableList(contractSpecifications_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
recordSpecifications_ = java.util.Collections.unmodifiableList(recordSpecifications_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
objectStoreLocators_ = java.util.Collections.unmodifiableList(objectStoreLocators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.provenance.metadata.v1.Genesis.internal_static_provenance_metadata_v1_GenesisState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.provenance.metadata.v1.Genesis.internal_static_provenance_metadata_v1_GenesisState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.provenance.metadata.v1.GenesisState.class, io.provenance.metadata.v1.GenesisState.Builder.class);
}
private int bitField0_;
public static final int PARAMS_FIELD_NUMBER = 1;
private io.provenance.metadata.v1.Params params_;
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParams() {
return params_ != null;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Params getParams() {
return params_ == null ? io.provenance.metadata.v1.Params.getDefaultInstance() : params_;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ParamsOrBuilder getParamsOrBuilder() {
return getParams();
}
public static final int SCOPES_FIELD_NUMBER = 2;
private java.util.List scopes_;
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List getScopesList() {
return scopes_;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ScopeOrBuilder>
getScopesOrBuilderList() {
return scopes_;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public int getScopesCount() {
return scopes_.size();
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Scope getScopes(int index) {
return scopes_.get(index);
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeOrBuilder getScopesOrBuilder(
int index) {
return scopes_.get(index);
}
public static final int SESSIONS_FIELD_NUMBER = 3;
private java.util.List sessions_;
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List getSessionsList() {
return sessions_;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.SessionOrBuilder>
getSessionsOrBuilderList() {
return sessions_;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public int getSessionsCount() {
return sessions_.size();
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Session getSessions(int index) {
return sessions_.get(index);
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.SessionOrBuilder getSessionsOrBuilder(
int index) {
return sessions_.get(index);
}
public static final int RECORDS_FIELD_NUMBER = 4;
private java.util.List records_;
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List getRecordsList() {
return records_;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.RecordOrBuilder>
getRecordsOrBuilderList() {
return records_;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public int getRecordsCount() {
return records_.size();
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Record getRecords(int index) {
return records_.get(index);
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordOrBuilder getRecordsOrBuilder(
int index) {
return records_.get(index);
}
public static final int SCOPE_SPECIFICATIONS_FIELD_NUMBER = 5;
private java.util.List scopeSpecifications_;
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public java.util.List getScopeSpecificationsList() {
return scopeSpecifications_;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ScopeSpecificationOrBuilder>
getScopeSpecificationsOrBuilderList() {
return scopeSpecifications_;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public int getScopeSpecificationsCount() {
return scopeSpecifications_.size();
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecification getScopeSpecifications(int index) {
return scopeSpecifications_.get(index);
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecificationOrBuilder getScopeSpecificationsOrBuilder(
int index) {
return scopeSpecifications_.get(index);
}
public static final int CONTRACT_SPECIFICATIONS_FIELD_NUMBER = 6;
private java.util.List contractSpecifications_;
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public java.util.List getContractSpecificationsList() {
return contractSpecifications_;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ContractSpecificationOrBuilder>
getContractSpecificationsOrBuilderList() {
return contractSpecifications_;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public int getContractSpecificationsCount() {
return contractSpecifications_.size();
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecification getContractSpecifications(int index) {
return contractSpecifications_.get(index);
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecificationOrBuilder getContractSpecificationsOrBuilder(
int index) {
return contractSpecifications_.get(index);
}
public static final int RECORD_SPECIFICATIONS_FIELD_NUMBER = 7;
private java.util.List recordSpecifications_;
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public java.util.List getRecordSpecificationsList() {
return recordSpecifications_;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.RecordSpecificationOrBuilder>
getRecordSpecificationsOrBuilderList() {
return recordSpecifications_;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public int getRecordSpecificationsCount() {
return recordSpecifications_.size();
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecification getRecordSpecifications(int index) {
return recordSpecifications_.get(index);
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecificationOrBuilder getRecordSpecificationsOrBuilder(
int index) {
return recordSpecifications_.get(index);
}
public static final int O_S_LOCATOR_PARAMS_FIELD_NUMBER = 8;
private io.provenance.metadata.v1.OSLocatorParams oSLocatorParams_;
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public boolean hasOSLocatorParams() {
return oSLocatorParams_ != null;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.OSLocatorParams getOSLocatorParams() {
return oSLocatorParams_ == null ? io.provenance.metadata.v1.OSLocatorParams.getDefaultInstance() : oSLocatorParams_;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.OSLocatorParamsOrBuilder getOSLocatorParamsOrBuilder() {
return getOSLocatorParams();
}
public static final int OBJECT_STORE_LOCATORS_FIELD_NUMBER = 9;
private java.util.List objectStoreLocators_;
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public java.util.List getObjectStoreLocatorsList() {
return objectStoreLocators_;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder>
getObjectStoreLocatorsOrBuilderList() {
return objectStoreLocators_;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public int getObjectStoreLocatorsCount() {
return objectStoreLocators_.size();
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocator getObjectStoreLocators(int index) {
return objectStoreLocators_.get(index);
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder getObjectStoreLocatorsOrBuilder(
int index) {
return objectStoreLocators_.get(index);
}
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 (params_ != null) {
output.writeMessage(1, getParams());
}
for (int i = 0; i < scopes_.size(); i++) {
output.writeMessage(2, scopes_.get(i));
}
for (int i = 0; i < sessions_.size(); i++) {
output.writeMessage(3, sessions_.get(i));
}
for (int i = 0; i < records_.size(); i++) {
output.writeMessage(4, records_.get(i));
}
for (int i = 0; i < scopeSpecifications_.size(); i++) {
output.writeMessage(5, scopeSpecifications_.get(i));
}
for (int i = 0; i < contractSpecifications_.size(); i++) {
output.writeMessage(6, contractSpecifications_.get(i));
}
for (int i = 0; i < recordSpecifications_.size(); i++) {
output.writeMessage(7, recordSpecifications_.get(i));
}
if (oSLocatorParams_ != null) {
output.writeMessage(8, getOSLocatorParams());
}
for (int i = 0; i < objectStoreLocators_.size(); i++) {
output.writeMessage(9, objectStoreLocators_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (params_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getParams());
}
for (int i = 0; i < scopes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, scopes_.get(i));
}
for (int i = 0; i < sessions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, sessions_.get(i));
}
for (int i = 0; i < records_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, records_.get(i));
}
for (int i = 0; i < scopeSpecifications_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, scopeSpecifications_.get(i));
}
for (int i = 0; i < contractSpecifications_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, contractSpecifications_.get(i));
}
for (int i = 0; i < recordSpecifications_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, recordSpecifications_.get(i));
}
if (oSLocatorParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getOSLocatorParams());
}
for (int i = 0; i < objectStoreLocators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, objectStoreLocators_.get(i));
}
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.metadata.v1.GenesisState)) {
return super.equals(obj);
}
io.provenance.metadata.v1.GenesisState other = (io.provenance.metadata.v1.GenesisState) obj;
boolean result = true;
result = result && (hasParams() == other.hasParams());
if (hasParams()) {
result = result && getParams()
.equals(other.getParams());
}
result = result && getScopesList()
.equals(other.getScopesList());
result = result && getSessionsList()
.equals(other.getSessionsList());
result = result && getRecordsList()
.equals(other.getRecordsList());
result = result && getScopeSpecificationsList()
.equals(other.getScopeSpecificationsList());
result = result && getContractSpecificationsList()
.equals(other.getContractSpecificationsList());
result = result && getRecordSpecificationsList()
.equals(other.getRecordSpecificationsList());
result = result && (hasOSLocatorParams() == other.hasOSLocatorParams());
if (hasOSLocatorParams()) {
result = result && getOSLocatorParams()
.equals(other.getOSLocatorParams());
}
result = result && getObjectStoreLocatorsList()
.equals(other.getObjectStoreLocatorsList());
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 (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
}
if (getScopesCount() > 0) {
hash = (37 * hash) + SCOPES_FIELD_NUMBER;
hash = (53 * hash) + getScopesList().hashCode();
}
if (getSessionsCount() > 0) {
hash = (37 * hash) + SESSIONS_FIELD_NUMBER;
hash = (53 * hash) + getSessionsList().hashCode();
}
if (getRecordsCount() > 0) {
hash = (37 * hash) + RECORDS_FIELD_NUMBER;
hash = (53 * hash) + getRecordsList().hashCode();
}
if (getScopeSpecificationsCount() > 0) {
hash = (37 * hash) + SCOPE_SPECIFICATIONS_FIELD_NUMBER;
hash = (53 * hash) + getScopeSpecificationsList().hashCode();
}
if (getContractSpecificationsCount() > 0) {
hash = (37 * hash) + CONTRACT_SPECIFICATIONS_FIELD_NUMBER;
hash = (53 * hash) + getContractSpecificationsList().hashCode();
}
if (getRecordSpecificationsCount() > 0) {
hash = (37 * hash) + RECORD_SPECIFICATIONS_FIELD_NUMBER;
hash = (53 * hash) + getRecordSpecificationsList().hashCode();
}
if (hasOSLocatorParams()) {
hash = (37 * hash) + O_S_LOCATOR_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOSLocatorParams().hashCode();
}
if (getObjectStoreLocatorsCount() > 0) {
hash = (37 * hash) + OBJECT_STORE_LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getObjectStoreLocatorsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.provenance.metadata.v1.GenesisState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.provenance.metadata.v1.GenesisState parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.provenance.metadata.v1.GenesisState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.provenance.metadata.v1.GenesisState 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.metadata.v1.GenesisState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.provenance.metadata.v1.GenesisState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.provenance.metadata.v1.GenesisState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.provenance.metadata.v1.GenesisState 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.metadata.v1.GenesisState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.provenance.metadata.v1.GenesisState 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.metadata.v1.GenesisState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.provenance.metadata.v1.GenesisState 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.metadata.v1.GenesisState 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;
}
/**
*
* GenesisState defines the account module's genesis state.
*
*
* Protobuf type {@code provenance.metadata.v1.GenesisState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:provenance.metadata.v1.GenesisState)
io.provenance.metadata.v1.GenesisStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.provenance.metadata.v1.Genesis.internal_static_provenance_metadata_v1_GenesisState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.provenance.metadata.v1.Genesis.internal_static_provenance_metadata_v1_GenesisState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.provenance.metadata.v1.GenesisState.class, io.provenance.metadata.v1.GenesisState.Builder.class);
}
// Construct using io.provenance.metadata.v1.GenesisState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getScopesFieldBuilder();
getSessionsFieldBuilder();
getRecordsFieldBuilder();
getScopeSpecificationsFieldBuilder();
getContractSpecificationsFieldBuilder();
getRecordSpecificationsFieldBuilder();
getObjectStoreLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (paramsBuilder_ == null) {
params_ = null;
} else {
params_ = null;
paramsBuilder_ = null;
}
if (scopesBuilder_ == null) {
scopes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
scopesBuilder_.clear();
}
if (sessionsBuilder_ == null) {
sessions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
sessionsBuilder_.clear();
}
if (recordsBuilder_ == null) {
records_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
recordsBuilder_.clear();
}
if (scopeSpecificationsBuilder_ == null) {
scopeSpecifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
scopeSpecificationsBuilder_.clear();
}
if (contractSpecificationsBuilder_ == null) {
contractSpecifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
contractSpecificationsBuilder_.clear();
}
if (recordSpecificationsBuilder_ == null) {
recordSpecifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
recordSpecificationsBuilder_.clear();
}
if (oSLocatorParamsBuilder_ == null) {
oSLocatorParams_ = null;
} else {
oSLocatorParams_ = null;
oSLocatorParamsBuilder_ = null;
}
if (objectStoreLocatorsBuilder_ == null) {
objectStoreLocators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
objectStoreLocatorsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.provenance.metadata.v1.Genesis.internal_static_provenance_metadata_v1_GenesisState_descriptor;
}
@java.lang.Override
public io.provenance.metadata.v1.GenesisState getDefaultInstanceForType() {
return io.provenance.metadata.v1.GenesisState.getDefaultInstance();
}
@java.lang.Override
public io.provenance.metadata.v1.GenesisState build() {
io.provenance.metadata.v1.GenesisState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.provenance.metadata.v1.GenesisState buildPartial() {
io.provenance.metadata.v1.GenesisState result = new io.provenance.metadata.v1.GenesisState(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (paramsBuilder_ == null) {
result.params_ = params_;
} else {
result.params_ = paramsBuilder_.build();
}
if (scopesBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
scopes_ = java.util.Collections.unmodifiableList(scopes_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.scopes_ = scopes_;
} else {
result.scopes_ = scopesBuilder_.build();
}
if (sessionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
sessions_ = java.util.Collections.unmodifiableList(sessions_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.sessions_ = sessions_;
} else {
result.sessions_ = sessionsBuilder_.build();
}
if (recordsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
records_ = java.util.Collections.unmodifiableList(records_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.records_ = records_;
} else {
result.records_ = recordsBuilder_.build();
}
if (scopeSpecificationsBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
scopeSpecifications_ = java.util.Collections.unmodifiableList(scopeSpecifications_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.scopeSpecifications_ = scopeSpecifications_;
} else {
result.scopeSpecifications_ = scopeSpecificationsBuilder_.build();
}
if (contractSpecificationsBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
contractSpecifications_ = java.util.Collections.unmodifiableList(contractSpecifications_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.contractSpecifications_ = contractSpecifications_;
} else {
result.contractSpecifications_ = contractSpecificationsBuilder_.build();
}
if (recordSpecificationsBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
recordSpecifications_ = java.util.Collections.unmodifiableList(recordSpecifications_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.recordSpecifications_ = recordSpecifications_;
} else {
result.recordSpecifications_ = recordSpecificationsBuilder_.build();
}
if (oSLocatorParamsBuilder_ == null) {
result.oSLocatorParams_ = oSLocatorParams_;
} else {
result.oSLocatorParams_ = oSLocatorParamsBuilder_.build();
}
if (objectStoreLocatorsBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
objectStoreLocators_ = java.util.Collections.unmodifiableList(objectStoreLocators_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.objectStoreLocators_ = objectStoreLocators_;
} else {
result.objectStoreLocators_ = objectStoreLocatorsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
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.metadata.v1.GenesisState) {
return mergeFrom((io.provenance.metadata.v1.GenesisState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.provenance.metadata.v1.GenesisState other) {
if (other == io.provenance.metadata.v1.GenesisState.getDefaultInstance()) return this;
if (other.hasParams()) {
mergeParams(other.getParams());
}
if (scopesBuilder_ == null) {
if (!other.scopes_.isEmpty()) {
if (scopes_.isEmpty()) {
scopes_ = other.scopes_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureScopesIsMutable();
scopes_.addAll(other.scopes_);
}
onChanged();
}
} else {
if (!other.scopes_.isEmpty()) {
if (scopesBuilder_.isEmpty()) {
scopesBuilder_.dispose();
scopesBuilder_ = null;
scopes_ = other.scopes_;
bitField0_ = (bitField0_ & ~0x00000002);
scopesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getScopesFieldBuilder() : null;
} else {
scopesBuilder_.addAllMessages(other.scopes_);
}
}
}
if (sessionsBuilder_ == null) {
if (!other.sessions_.isEmpty()) {
if (sessions_.isEmpty()) {
sessions_ = other.sessions_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSessionsIsMutable();
sessions_.addAll(other.sessions_);
}
onChanged();
}
} else {
if (!other.sessions_.isEmpty()) {
if (sessionsBuilder_.isEmpty()) {
sessionsBuilder_.dispose();
sessionsBuilder_ = null;
sessions_ = other.sessions_;
bitField0_ = (bitField0_ & ~0x00000004);
sessionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSessionsFieldBuilder() : null;
} else {
sessionsBuilder_.addAllMessages(other.sessions_);
}
}
}
if (recordsBuilder_ == null) {
if (!other.records_.isEmpty()) {
if (records_.isEmpty()) {
records_ = other.records_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureRecordsIsMutable();
records_.addAll(other.records_);
}
onChanged();
}
} else {
if (!other.records_.isEmpty()) {
if (recordsBuilder_.isEmpty()) {
recordsBuilder_.dispose();
recordsBuilder_ = null;
records_ = other.records_;
bitField0_ = (bitField0_ & ~0x00000008);
recordsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRecordsFieldBuilder() : null;
} else {
recordsBuilder_.addAllMessages(other.records_);
}
}
}
if (scopeSpecificationsBuilder_ == null) {
if (!other.scopeSpecifications_.isEmpty()) {
if (scopeSpecifications_.isEmpty()) {
scopeSpecifications_ = other.scopeSpecifications_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.addAll(other.scopeSpecifications_);
}
onChanged();
}
} else {
if (!other.scopeSpecifications_.isEmpty()) {
if (scopeSpecificationsBuilder_.isEmpty()) {
scopeSpecificationsBuilder_.dispose();
scopeSpecificationsBuilder_ = null;
scopeSpecifications_ = other.scopeSpecifications_;
bitField0_ = (bitField0_ & ~0x00000010);
scopeSpecificationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getScopeSpecificationsFieldBuilder() : null;
} else {
scopeSpecificationsBuilder_.addAllMessages(other.scopeSpecifications_);
}
}
}
if (contractSpecificationsBuilder_ == null) {
if (!other.contractSpecifications_.isEmpty()) {
if (contractSpecifications_.isEmpty()) {
contractSpecifications_ = other.contractSpecifications_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureContractSpecificationsIsMutable();
contractSpecifications_.addAll(other.contractSpecifications_);
}
onChanged();
}
} else {
if (!other.contractSpecifications_.isEmpty()) {
if (contractSpecificationsBuilder_.isEmpty()) {
contractSpecificationsBuilder_.dispose();
contractSpecificationsBuilder_ = null;
contractSpecifications_ = other.contractSpecifications_;
bitField0_ = (bitField0_ & ~0x00000020);
contractSpecificationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getContractSpecificationsFieldBuilder() : null;
} else {
contractSpecificationsBuilder_.addAllMessages(other.contractSpecifications_);
}
}
}
if (recordSpecificationsBuilder_ == null) {
if (!other.recordSpecifications_.isEmpty()) {
if (recordSpecifications_.isEmpty()) {
recordSpecifications_ = other.recordSpecifications_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureRecordSpecificationsIsMutable();
recordSpecifications_.addAll(other.recordSpecifications_);
}
onChanged();
}
} else {
if (!other.recordSpecifications_.isEmpty()) {
if (recordSpecificationsBuilder_.isEmpty()) {
recordSpecificationsBuilder_.dispose();
recordSpecificationsBuilder_ = null;
recordSpecifications_ = other.recordSpecifications_;
bitField0_ = (bitField0_ & ~0x00000040);
recordSpecificationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRecordSpecificationsFieldBuilder() : null;
} else {
recordSpecificationsBuilder_.addAllMessages(other.recordSpecifications_);
}
}
}
if (other.hasOSLocatorParams()) {
mergeOSLocatorParams(other.getOSLocatorParams());
}
if (objectStoreLocatorsBuilder_ == null) {
if (!other.objectStoreLocators_.isEmpty()) {
if (objectStoreLocators_.isEmpty()) {
objectStoreLocators_ = other.objectStoreLocators_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.addAll(other.objectStoreLocators_);
}
onChanged();
}
} else {
if (!other.objectStoreLocators_.isEmpty()) {
if (objectStoreLocatorsBuilder_.isEmpty()) {
objectStoreLocatorsBuilder_.dispose();
objectStoreLocatorsBuilder_ = null;
objectStoreLocators_ = other.objectStoreLocators_;
bitField0_ = (bitField0_ & ~0x00000100);
objectStoreLocatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectStoreLocatorsFieldBuilder() : null;
} else {
objectStoreLocatorsBuilder_.addAllMessages(other.objectStoreLocators_);
}
}
}
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.metadata.v1.GenesisState parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.provenance.metadata.v1.GenesisState) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private io.provenance.metadata.v1.Params params_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.metadata.v1.Params, io.provenance.metadata.v1.Params.Builder, io.provenance.metadata.v1.ParamsOrBuilder> paramsBuilder_;
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Params getParams() {
if (paramsBuilder_ == null) {
return params_ == null ? io.provenance.metadata.v1.Params.getDefaultInstance() : params_;
} else {
return paramsBuilder_.getMessage();
}
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(io.provenance.metadata.v1.Params value) {
if (paramsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
params_ = value;
onChanged();
} else {
paramsBuilder_.setMessage(value);
}
return this;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(
io.provenance.metadata.v1.Params.Builder builderForValue) {
if (paramsBuilder_ == null) {
params_ = builderForValue.build();
onChanged();
} else {
paramsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeParams(io.provenance.metadata.v1.Params value) {
if (paramsBuilder_ == null) {
if (params_ != null) {
params_ =
io.provenance.metadata.v1.Params.newBuilder(params_).mergeFrom(value).buildPartial();
} else {
params_ = value;
}
onChanged();
} else {
paramsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearParams() {
if (paramsBuilder_ == null) {
params_ = null;
onChanged();
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Params.Builder getParamsBuilder() {
onChanged();
return getParamsFieldBuilder().getBuilder();
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ParamsOrBuilder getParamsOrBuilder() {
if (paramsBuilder_ != null) {
return paramsBuilder_.getMessageOrBuilder();
} else {
return params_ == null ?
io.provenance.metadata.v1.Params.getDefaultInstance() : params_;
}
}
/**
*
* params defines all the parameters of the module.
*
*
* .provenance.metadata.v1.Params params = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.metadata.v1.Params, io.provenance.metadata.v1.Params.Builder, io.provenance.metadata.v1.ParamsOrBuilder>
getParamsFieldBuilder() {
if (paramsBuilder_ == null) {
paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.provenance.metadata.v1.Params, io.provenance.metadata.v1.Params.Builder, io.provenance.metadata.v1.ParamsOrBuilder>(
getParams(),
getParentForChildren(),
isClean());
params_ = null;
}
return paramsBuilder_;
}
private java.util.List scopes_ =
java.util.Collections.emptyList();
private void ensureScopesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
scopes_ = new java.util.ArrayList(scopes_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Scope, io.provenance.metadata.v1.Scope.Builder, io.provenance.metadata.v1.ScopeOrBuilder> scopesBuilder_;
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List getScopesList() {
if (scopesBuilder_ == null) {
return java.util.Collections.unmodifiableList(scopes_);
} else {
return scopesBuilder_.getMessageList();
}
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public int getScopesCount() {
if (scopesBuilder_ == null) {
return scopes_.size();
} else {
return scopesBuilder_.getCount();
}
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Scope getScopes(int index) {
if (scopesBuilder_ == null) {
return scopes_.get(index);
} else {
return scopesBuilder_.getMessage(index);
}
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder setScopes(
int index, io.provenance.metadata.v1.Scope value) {
if (scopesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScopesIsMutable();
scopes_.set(index, value);
onChanged();
} else {
scopesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder setScopes(
int index, io.provenance.metadata.v1.Scope.Builder builderForValue) {
if (scopesBuilder_ == null) {
ensureScopesIsMutable();
scopes_.set(index, builderForValue.build());
onChanged();
} else {
scopesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder addScopes(io.provenance.metadata.v1.Scope value) {
if (scopesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScopesIsMutable();
scopes_.add(value);
onChanged();
} else {
scopesBuilder_.addMessage(value);
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder addScopes(
int index, io.provenance.metadata.v1.Scope value) {
if (scopesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScopesIsMutable();
scopes_.add(index, value);
onChanged();
} else {
scopesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder addScopes(
io.provenance.metadata.v1.Scope.Builder builderForValue) {
if (scopesBuilder_ == null) {
ensureScopesIsMutable();
scopes_.add(builderForValue.build());
onChanged();
} else {
scopesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder addScopes(
int index, io.provenance.metadata.v1.Scope.Builder builderForValue) {
if (scopesBuilder_ == null) {
ensureScopesIsMutable();
scopes_.add(index, builderForValue.build());
onChanged();
} else {
scopesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAllScopes(
java.lang.Iterable extends io.provenance.metadata.v1.Scope> values) {
if (scopesBuilder_ == null) {
ensureScopesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, scopes_);
onChanged();
} else {
scopesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder clearScopes() {
if (scopesBuilder_ == null) {
scopes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
scopesBuilder_.clear();
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public Builder removeScopes(int index) {
if (scopesBuilder_ == null) {
ensureScopesIsMutable();
scopes_.remove(index);
onChanged();
} else {
scopesBuilder_.remove(index);
}
return this;
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Scope.Builder getScopesBuilder(
int index) {
return getScopesFieldBuilder().getBuilder(index);
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeOrBuilder getScopesOrBuilder(
int index) {
if (scopesBuilder_ == null) {
return scopes_.get(index); } else {
return scopesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ScopeOrBuilder>
getScopesOrBuilderList() {
if (scopesBuilder_ != null) {
return scopesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(scopes_);
}
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Scope.Builder addScopesBuilder() {
return getScopesFieldBuilder().addBuilder(
io.provenance.metadata.v1.Scope.getDefaultInstance());
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Scope.Builder addScopesBuilder(
int index) {
return getScopesFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.Scope.getDefaultInstance());
}
/**
*
* A collection of metadata scopes and specs to create on start
*
*
* repeated .provenance.metadata.v1.Scope scopes = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List
getScopesBuilderList() {
return getScopesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Scope, io.provenance.metadata.v1.Scope.Builder, io.provenance.metadata.v1.ScopeOrBuilder>
getScopesFieldBuilder() {
if (scopesBuilder_ == null) {
scopesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Scope, io.provenance.metadata.v1.Scope.Builder, io.provenance.metadata.v1.ScopeOrBuilder>(
scopes_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
scopes_ = null;
}
return scopesBuilder_;
}
private java.util.List sessions_ =
java.util.Collections.emptyList();
private void ensureSessionsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
sessions_ = new java.util.ArrayList(sessions_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Session, io.provenance.metadata.v1.Session.Builder, io.provenance.metadata.v1.SessionOrBuilder> sessionsBuilder_;
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List getSessionsList() {
if (sessionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sessions_);
} else {
return sessionsBuilder_.getMessageList();
}
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public int getSessionsCount() {
if (sessionsBuilder_ == null) {
return sessions_.size();
} else {
return sessionsBuilder_.getCount();
}
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Session getSessions(int index) {
if (sessionsBuilder_ == null) {
return sessions_.get(index);
} else {
return sessionsBuilder_.getMessage(index);
}
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder setSessions(
int index, io.provenance.metadata.v1.Session value) {
if (sessionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSessionsIsMutable();
sessions_.set(index, value);
onChanged();
} else {
sessionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder setSessions(
int index, io.provenance.metadata.v1.Session.Builder builderForValue) {
if (sessionsBuilder_ == null) {
ensureSessionsIsMutable();
sessions_.set(index, builderForValue.build());
onChanged();
} else {
sessionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder addSessions(io.provenance.metadata.v1.Session value) {
if (sessionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSessionsIsMutable();
sessions_.add(value);
onChanged();
} else {
sessionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder addSessions(
int index, io.provenance.metadata.v1.Session value) {
if (sessionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSessionsIsMutable();
sessions_.add(index, value);
onChanged();
} else {
sessionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder addSessions(
io.provenance.metadata.v1.Session.Builder builderForValue) {
if (sessionsBuilder_ == null) {
ensureSessionsIsMutable();
sessions_.add(builderForValue.build());
onChanged();
} else {
sessionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder addSessions(
int index, io.provenance.metadata.v1.Session.Builder builderForValue) {
if (sessionsBuilder_ == null) {
ensureSessionsIsMutable();
sessions_.add(index, builderForValue.build());
onChanged();
} else {
sessionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder addAllSessions(
java.lang.Iterable extends io.provenance.metadata.v1.Session> values) {
if (sessionsBuilder_ == null) {
ensureSessionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sessions_);
onChanged();
} else {
sessionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder clearSessions() {
if (sessionsBuilder_ == null) {
sessions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
sessionsBuilder_.clear();
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public Builder removeSessions(int index) {
if (sessionsBuilder_ == null) {
ensureSessionsIsMutable();
sessions_.remove(index);
onChanged();
} else {
sessionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Session.Builder getSessionsBuilder(
int index) {
return getSessionsFieldBuilder().getBuilder(index);
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.SessionOrBuilder getSessionsOrBuilder(
int index) {
if (sessionsBuilder_ == null) {
return sessions_.get(index); } else {
return sessionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.SessionOrBuilder>
getSessionsOrBuilderList() {
if (sessionsBuilder_ != null) {
return sessionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sessions_);
}
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Session.Builder addSessionsBuilder() {
return getSessionsFieldBuilder().addBuilder(
io.provenance.metadata.v1.Session.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Session.Builder addSessionsBuilder(
int index) {
return getSessionsFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.Session.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.Session sessions = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List
getSessionsBuilderList() {
return getSessionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Session, io.provenance.metadata.v1.Session.Builder, io.provenance.metadata.v1.SessionOrBuilder>
getSessionsFieldBuilder() {
if (sessionsBuilder_ == null) {
sessionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Session, io.provenance.metadata.v1.Session.Builder, io.provenance.metadata.v1.SessionOrBuilder>(
sessions_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
sessions_ = null;
}
return sessionsBuilder_;
}
private java.util.List records_ =
java.util.Collections.emptyList();
private void ensureRecordsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
records_ = new java.util.ArrayList(records_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Record, io.provenance.metadata.v1.Record.Builder, io.provenance.metadata.v1.RecordOrBuilder> recordsBuilder_;
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List getRecordsList() {
if (recordsBuilder_ == null) {
return java.util.Collections.unmodifiableList(records_);
} else {
return recordsBuilder_.getMessageList();
}
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public int getRecordsCount() {
if (recordsBuilder_ == null) {
return records_.size();
} else {
return recordsBuilder_.getCount();
}
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Record getRecords(int index) {
if (recordsBuilder_ == null) {
return records_.get(index);
} else {
return recordsBuilder_.getMessage(index);
}
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder setRecords(
int index, io.provenance.metadata.v1.Record value) {
if (recordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecordsIsMutable();
records_.set(index, value);
onChanged();
} else {
recordsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder setRecords(
int index, io.provenance.metadata.v1.Record.Builder builderForValue) {
if (recordsBuilder_ == null) {
ensureRecordsIsMutable();
records_.set(index, builderForValue.build());
onChanged();
} else {
recordsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder addRecords(io.provenance.metadata.v1.Record value) {
if (recordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecordsIsMutable();
records_.add(value);
onChanged();
} else {
recordsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder addRecords(
int index, io.provenance.metadata.v1.Record value) {
if (recordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecordsIsMutable();
records_.add(index, value);
onChanged();
} else {
recordsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder addRecords(
io.provenance.metadata.v1.Record.Builder builderForValue) {
if (recordsBuilder_ == null) {
ensureRecordsIsMutable();
records_.add(builderForValue.build());
onChanged();
} else {
recordsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder addRecords(
int index, io.provenance.metadata.v1.Record.Builder builderForValue) {
if (recordsBuilder_ == null) {
ensureRecordsIsMutable();
records_.add(index, builderForValue.build());
onChanged();
} else {
recordsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder addAllRecords(
java.lang.Iterable extends io.provenance.metadata.v1.Record> values) {
if (recordsBuilder_ == null) {
ensureRecordsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, records_);
onChanged();
} else {
recordsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder clearRecords() {
if (recordsBuilder_ == null) {
records_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
recordsBuilder_.clear();
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public Builder removeRecords(int index) {
if (recordsBuilder_ == null) {
ensureRecordsIsMutable();
records_.remove(index);
onChanged();
} else {
recordsBuilder_.remove(index);
}
return this;
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Record.Builder getRecordsBuilder(
int index) {
return getRecordsFieldBuilder().getBuilder(index);
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordOrBuilder getRecordsOrBuilder(
int index) {
if (recordsBuilder_ == null) {
return records_.get(index); } else {
return recordsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.RecordOrBuilder>
getRecordsOrBuilderList() {
if (recordsBuilder_ != null) {
return recordsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(records_);
}
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Record.Builder addRecordsBuilder() {
return getRecordsFieldBuilder().addBuilder(
io.provenance.metadata.v1.Record.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.Record.Builder addRecordsBuilder(
int index) {
return getRecordsFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.Record.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.Record records = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List
getRecordsBuilderList() {
return getRecordsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Record, io.provenance.metadata.v1.Record.Builder, io.provenance.metadata.v1.RecordOrBuilder>
getRecordsFieldBuilder() {
if (recordsBuilder_ == null) {
recordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.Record, io.provenance.metadata.v1.Record.Builder, io.provenance.metadata.v1.RecordOrBuilder>(
records_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
records_ = null;
}
return recordsBuilder_;
}
private java.util.List scopeSpecifications_ =
java.util.Collections.emptyList();
private void ensureScopeSpecificationsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
scopeSpecifications_ = new java.util.ArrayList(scopeSpecifications_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ScopeSpecification, io.provenance.metadata.v1.ScopeSpecification.Builder, io.provenance.metadata.v1.ScopeSpecificationOrBuilder> scopeSpecificationsBuilder_;
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public java.util.List getScopeSpecificationsList() {
if (scopeSpecificationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(scopeSpecifications_);
} else {
return scopeSpecificationsBuilder_.getMessageList();
}
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public int getScopeSpecificationsCount() {
if (scopeSpecificationsBuilder_ == null) {
return scopeSpecifications_.size();
} else {
return scopeSpecificationsBuilder_.getCount();
}
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecification getScopeSpecifications(int index) {
if (scopeSpecificationsBuilder_ == null) {
return scopeSpecifications_.get(index);
} else {
return scopeSpecificationsBuilder_.getMessage(index);
}
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder setScopeSpecifications(
int index, io.provenance.metadata.v1.ScopeSpecification value) {
if (scopeSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.set(index, value);
onChanged();
} else {
scopeSpecificationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder setScopeSpecifications(
int index, io.provenance.metadata.v1.ScopeSpecification.Builder builderForValue) {
if (scopeSpecificationsBuilder_ == null) {
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.set(index, builderForValue.build());
onChanged();
} else {
scopeSpecificationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder addScopeSpecifications(io.provenance.metadata.v1.ScopeSpecification value) {
if (scopeSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.add(value);
onChanged();
} else {
scopeSpecificationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder addScopeSpecifications(
int index, io.provenance.metadata.v1.ScopeSpecification value) {
if (scopeSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.add(index, value);
onChanged();
} else {
scopeSpecificationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder addScopeSpecifications(
io.provenance.metadata.v1.ScopeSpecification.Builder builderForValue) {
if (scopeSpecificationsBuilder_ == null) {
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.add(builderForValue.build());
onChanged();
} else {
scopeSpecificationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder addScopeSpecifications(
int index, io.provenance.metadata.v1.ScopeSpecification.Builder builderForValue) {
if (scopeSpecificationsBuilder_ == null) {
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.add(index, builderForValue.build());
onChanged();
} else {
scopeSpecificationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder addAllScopeSpecifications(
java.lang.Iterable extends io.provenance.metadata.v1.ScopeSpecification> values) {
if (scopeSpecificationsBuilder_ == null) {
ensureScopeSpecificationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, scopeSpecifications_);
onChanged();
} else {
scopeSpecificationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder clearScopeSpecifications() {
if (scopeSpecificationsBuilder_ == null) {
scopeSpecifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
scopeSpecificationsBuilder_.clear();
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public Builder removeScopeSpecifications(int index) {
if (scopeSpecificationsBuilder_ == null) {
ensureScopeSpecificationsIsMutable();
scopeSpecifications_.remove(index);
onChanged();
} else {
scopeSpecificationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecification.Builder getScopeSpecificationsBuilder(
int index) {
return getScopeSpecificationsFieldBuilder().getBuilder(index);
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecificationOrBuilder getScopeSpecificationsOrBuilder(
int index) {
if (scopeSpecificationsBuilder_ == null) {
return scopeSpecifications_.get(index); } else {
return scopeSpecificationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ScopeSpecificationOrBuilder>
getScopeSpecificationsOrBuilderList() {
if (scopeSpecificationsBuilder_ != null) {
return scopeSpecificationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(scopeSpecifications_);
}
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecification.Builder addScopeSpecificationsBuilder() {
return getScopeSpecificationsFieldBuilder().addBuilder(
io.provenance.metadata.v1.ScopeSpecification.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ScopeSpecification.Builder addScopeSpecificationsBuilder(
int index) {
return getScopeSpecificationsFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.ScopeSpecification.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.ScopeSpecification scope_specifications = 5 [(.gogoproto.nullable) = false];
*/
public java.util.List
getScopeSpecificationsBuilderList() {
return getScopeSpecificationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ScopeSpecification, io.provenance.metadata.v1.ScopeSpecification.Builder, io.provenance.metadata.v1.ScopeSpecificationOrBuilder>
getScopeSpecificationsFieldBuilder() {
if (scopeSpecificationsBuilder_ == null) {
scopeSpecificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ScopeSpecification, io.provenance.metadata.v1.ScopeSpecification.Builder, io.provenance.metadata.v1.ScopeSpecificationOrBuilder>(
scopeSpecifications_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
scopeSpecifications_ = null;
}
return scopeSpecificationsBuilder_;
}
private java.util.List contractSpecifications_ =
java.util.Collections.emptyList();
private void ensureContractSpecificationsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
contractSpecifications_ = new java.util.ArrayList(contractSpecifications_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ContractSpecification, io.provenance.metadata.v1.ContractSpecification.Builder, io.provenance.metadata.v1.ContractSpecificationOrBuilder> contractSpecificationsBuilder_;
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public java.util.List getContractSpecificationsList() {
if (contractSpecificationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(contractSpecifications_);
} else {
return contractSpecificationsBuilder_.getMessageList();
}
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public int getContractSpecificationsCount() {
if (contractSpecificationsBuilder_ == null) {
return contractSpecifications_.size();
} else {
return contractSpecificationsBuilder_.getCount();
}
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecification getContractSpecifications(int index) {
if (contractSpecificationsBuilder_ == null) {
return contractSpecifications_.get(index);
} else {
return contractSpecificationsBuilder_.getMessage(index);
}
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder setContractSpecifications(
int index, io.provenance.metadata.v1.ContractSpecification value) {
if (contractSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContractSpecificationsIsMutable();
contractSpecifications_.set(index, value);
onChanged();
} else {
contractSpecificationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder setContractSpecifications(
int index, io.provenance.metadata.v1.ContractSpecification.Builder builderForValue) {
if (contractSpecificationsBuilder_ == null) {
ensureContractSpecificationsIsMutable();
contractSpecifications_.set(index, builderForValue.build());
onChanged();
} else {
contractSpecificationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder addContractSpecifications(io.provenance.metadata.v1.ContractSpecification value) {
if (contractSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContractSpecificationsIsMutable();
contractSpecifications_.add(value);
onChanged();
} else {
contractSpecificationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder addContractSpecifications(
int index, io.provenance.metadata.v1.ContractSpecification value) {
if (contractSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContractSpecificationsIsMutable();
contractSpecifications_.add(index, value);
onChanged();
} else {
contractSpecificationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder addContractSpecifications(
io.provenance.metadata.v1.ContractSpecification.Builder builderForValue) {
if (contractSpecificationsBuilder_ == null) {
ensureContractSpecificationsIsMutable();
contractSpecifications_.add(builderForValue.build());
onChanged();
} else {
contractSpecificationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder addContractSpecifications(
int index, io.provenance.metadata.v1.ContractSpecification.Builder builderForValue) {
if (contractSpecificationsBuilder_ == null) {
ensureContractSpecificationsIsMutable();
contractSpecifications_.add(index, builderForValue.build());
onChanged();
} else {
contractSpecificationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder addAllContractSpecifications(
java.lang.Iterable extends io.provenance.metadata.v1.ContractSpecification> values) {
if (contractSpecificationsBuilder_ == null) {
ensureContractSpecificationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, contractSpecifications_);
onChanged();
} else {
contractSpecificationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder clearContractSpecifications() {
if (contractSpecificationsBuilder_ == null) {
contractSpecifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
contractSpecificationsBuilder_.clear();
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public Builder removeContractSpecifications(int index) {
if (contractSpecificationsBuilder_ == null) {
ensureContractSpecificationsIsMutable();
contractSpecifications_.remove(index);
onChanged();
} else {
contractSpecificationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecification.Builder getContractSpecificationsBuilder(
int index) {
return getContractSpecificationsFieldBuilder().getBuilder(index);
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecificationOrBuilder getContractSpecificationsOrBuilder(
int index) {
if (contractSpecificationsBuilder_ == null) {
return contractSpecifications_.get(index); } else {
return contractSpecificationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ContractSpecificationOrBuilder>
getContractSpecificationsOrBuilderList() {
if (contractSpecificationsBuilder_ != null) {
return contractSpecificationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(contractSpecifications_);
}
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecification.Builder addContractSpecificationsBuilder() {
return getContractSpecificationsFieldBuilder().addBuilder(
io.provenance.metadata.v1.ContractSpecification.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ContractSpecification.Builder addContractSpecificationsBuilder(
int index) {
return getContractSpecificationsFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.ContractSpecification.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.ContractSpecification contract_specifications = 6 [(.gogoproto.nullable) = false];
*/
public java.util.List
getContractSpecificationsBuilderList() {
return getContractSpecificationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ContractSpecification, io.provenance.metadata.v1.ContractSpecification.Builder, io.provenance.metadata.v1.ContractSpecificationOrBuilder>
getContractSpecificationsFieldBuilder() {
if (contractSpecificationsBuilder_ == null) {
contractSpecificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ContractSpecification, io.provenance.metadata.v1.ContractSpecification.Builder, io.provenance.metadata.v1.ContractSpecificationOrBuilder>(
contractSpecifications_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
contractSpecifications_ = null;
}
return contractSpecificationsBuilder_;
}
private java.util.List recordSpecifications_ =
java.util.Collections.emptyList();
private void ensureRecordSpecificationsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
recordSpecifications_ = new java.util.ArrayList(recordSpecifications_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.RecordSpecification, io.provenance.metadata.v1.RecordSpecification.Builder, io.provenance.metadata.v1.RecordSpecificationOrBuilder> recordSpecificationsBuilder_;
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public java.util.List getRecordSpecificationsList() {
if (recordSpecificationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(recordSpecifications_);
} else {
return recordSpecificationsBuilder_.getMessageList();
}
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public int getRecordSpecificationsCount() {
if (recordSpecificationsBuilder_ == null) {
return recordSpecifications_.size();
} else {
return recordSpecificationsBuilder_.getCount();
}
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecification getRecordSpecifications(int index) {
if (recordSpecificationsBuilder_ == null) {
return recordSpecifications_.get(index);
} else {
return recordSpecificationsBuilder_.getMessage(index);
}
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder setRecordSpecifications(
int index, io.provenance.metadata.v1.RecordSpecification value) {
if (recordSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecordSpecificationsIsMutable();
recordSpecifications_.set(index, value);
onChanged();
} else {
recordSpecificationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder setRecordSpecifications(
int index, io.provenance.metadata.v1.RecordSpecification.Builder builderForValue) {
if (recordSpecificationsBuilder_ == null) {
ensureRecordSpecificationsIsMutable();
recordSpecifications_.set(index, builderForValue.build());
onChanged();
} else {
recordSpecificationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder addRecordSpecifications(io.provenance.metadata.v1.RecordSpecification value) {
if (recordSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecordSpecificationsIsMutable();
recordSpecifications_.add(value);
onChanged();
} else {
recordSpecificationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder addRecordSpecifications(
int index, io.provenance.metadata.v1.RecordSpecification value) {
if (recordSpecificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecordSpecificationsIsMutable();
recordSpecifications_.add(index, value);
onChanged();
} else {
recordSpecificationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder addRecordSpecifications(
io.provenance.metadata.v1.RecordSpecification.Builder builderForValue) {
if (recordSpecificationsBuilder_ == null) {
ensureRecordSpecificationsIsMutable();
recordSpecifications_.add(builderForValue.build());
onChanged();
} else {
recordSpecificationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder addRecordSpecifications(
int index, io.provenance.metadata.v1.RecordSpecification.Builder builderForValue) {
if (recordSpecificationsBuilder_ == null) {
ensureRecordSpecificationsIsMutable();
recordSpecifications_.add(index, builderForValue.build());
onChanged();
} else {
recordSpecificationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder addAllRecordSpecifications(
java.lang.Iterable extends io.provenance.metadata.v1.RecordSpecification> values) {
if (recordSpecificationsBuilder_ == null) {
ensureRecordSpecificationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, recordSpecifications_);
onChanged();
} else {
recordSpecificationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder clearRecordSpecifications() {
if (recordSpecificationsBuilder_ == null) {
recordSpecifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
recordSpecificationsBuilder_.clear();
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public Builder removeRecordSpecifications(int index) {
if (recordSpecificationsBuilder_ == null) {
ensureRecordSpecificationsIsMutable();
recordSpecifications_.remove(index);
onChanged();
} else {
recordSpecificationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecification.Builder getRecordSpecificationsBuilder(
int index) {
return getRecordSpecificationsFieldBuilder().getBuilder(index);
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecificationOrBuilder getRecordSpecificationsOrBuilder(
int index) {
if (recordSpecificationsBuilder_ == null) {
return recordSpecifications_.get(index); } else {
return recordSpecificationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.RecordSpecificationOrBuilder>
getRecordSpecificationsOrBuilderList() {
if (recordSpecificationsBuilder_ != null) {
return recordSpecificationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(recordSpecifications_);
}
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecification.Builder addRecordSpecificationsBuilder() {
return getRecordSpecificationsFieldBuilder().addBuilder(
io.provenance.metadata.v1.RecordSpecification.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.RecordSpecification.Builder addRecordSpecificationsBuilder(
int index) {
return getRecordSpecificationsFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.RecordSpecification.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.RecordSpecification record_specifications = 7 [(.gogoproto.nullable) = false];
*/
public java.util.List
getRecordSpecificationsBuilderList() {
return getRecordSpecificationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.RecordSpecification, io.provenance.metadata.v1.RecordSpecification.Builder, io.provenance.metadata.v1.RecordSpecificationOrBuilder>
getRecordSpecificationsFieldBuilder() {
if (recordSpecificationsBuilder_ == null) {
recordSpecificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.RecordSpecification, io.provenance.metadata.v1.RecordSpecification.Builder, io.provenance.metadata.v1.RecordSpecificationOrBuilder>(
recordSpecifications_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
recordSpecifications_ = null;
}
return recordSpecificationsBuilder_;
}
private io.provenance.metadata.v1.OSLocatorParams oSLocatorParams_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.metadata.v1.OSLocatorParams, io.provenance.metadata.v1.OSLocatorParams.Builder, io.provenance.metadata.v1.OSLocatorParamsOrBuilder> oSLocatorParamsBuilder_;
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public boolean hasOSLocatorParams() {
return oSLocatorParamsBuilder_ != null || oSLocatorParams_ != null;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.OSLocatorParams getOSLocatorParams() {
if (oSLocatorParamsBuilder_ == null) {
return oSLocatorParams_ == null ? io.provenance.metadata.v1.OSLocatorParams.getDefaultInstance() : oSLocatorParams_;
} else {
return oSLocatorParamsBuilder_.getMessage();
}
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public Builder setOSLocatorParams(io.provenance.metadata.v1.OSLocatorParams value) {
if (oSLocatorParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
oSLocatorParams_ = value;
onChanged();
} else {
oSLocatorParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public Builder setOSLocatorParams(
io.provenance.metadata.v1.OSLocatorParams.Builder builderForValue) {
if (oSLocatorParamsBuilder_ == null) {
oSLocatorParams_ = builderForValue.build();
onChanged();
} else {
oSLocatorParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public Builder mergeOSLocatorParams(io.provenance.metadata.v1.OSLocatorParams value) {
if (oSLocatorParamsBuilder_ == null) {
if (oSLocatorParams_ != null) {
oSLocatorParams_ =
io.provenance.metadata.v1.OSLocatorParams.newBuilder(oSLocatorParams_).mergeFrom(value).buildPartial();
} else {
oSLocatorParams_ = value;
}
onChanged();
} else {
oSLocatorParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public Builder clearOSLocatorParams() {
if (oSLocatorParamsBuilder_ == null) {
oSLocatorParams_ = null;
onChanged();
} else {
oSLocatorParams_ = null;
oSLocatorParamsBuilder_ = null;
}
return this;
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.OSLocatorParams.Builder getOSLocatorParamsBuilder() {
onChanged();
return getOSLocatorParamsFieldBuilder().getBuilder();
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.OSLocatorParamsOrBuilder getOSLocatorParamsOrBuilder() {
if (oSLocatorParamsBuilder_ != null) {
return oSLocatorParamsBuilder_.getMessageOrBuilder();
} else {
return oSLocatorParams_ == null ?
io.provenance.metadata.v1.OSLocatorParams.getDefaultInstance() : oSLocatorParams_;
}
}
/**
* .provenance.metadata.v1.OSLocatorParams o_s_locator_params = 8 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.provenance.metadata.v1.OSLocatorParams, io.provenance.metadata.v1.OSLocatorParams.Builder, io.provenance.metadata.v1.OSLocatorParamsOrBuilder>
getOSLocatorParamsFieldBuilder() {
if (oSLocatorParamsBuilder_ == null) {
oSLocatorParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.provenance.metadata.v1.OSLocatorParams, io.provenance.metadata.v1.OSLocatorParams.Builder, io.provenance.metadata.v1.OSLocatorParamsOrBuilder>(
getOSLocatorParams(),
getParentForChildren(),
isClean());
oSLocatorParams_ = null;
}
return oSLocatorParamsBuilder_;
}
private java.util.List objectStoreLocators_ =
java.util.Collections.emptyList();
private void ensureObjectStoreLocatorsIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
objectStoreLocators_ = new java.util.ArrayList(objectStoreLocators_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ObjectStoreLocator, io.provenance.metadata.v1.ObjectStoreLocator.Builder, io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder> objectStoreLocatorsBuilder_;
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public java.util.List getObjectStoreLocatorsList() {
if (objectStoreLocatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectStoreLocators_);
} else {
return objectStoreLocatorsBuilder_.getMessageList();
}
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public int getObjectStoreLocatorsCount() {
if (objectStoreLocatorsBuilder_ == null) {
return objectStoreLocators_.size();
} else {
return objectStoreLocatorsBuilder_.getCount();
}
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocator getObjectStoreLocators(int index) {
if (objectStoreLocatorsBuilder_ == null) {
return objectStoreLocators_.get(index);
} else {
return objectStoreLocatorsBuilder_.getMessage(index);
}
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder setObjectStoreLocators(
int index, io.provenance.metadata.v1.ObjectStoreLocator value) {
if (objectStoreLocatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.set(index, value);
onChanged();
} else {
objectStoreLocatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder setObjectStoreLocators(
int index, io.provenance.metadata.v1.ObjectStoreLocator.Builder builderForValue) {
if (objectStoreLocatorsBuilder_ == null) {
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.set(index, builderForValue.build());
onChanged();
} else {
objectStoreLocatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder addObjectStoreLocators(io.provenance.metadata.v1.ObjectStoreLocator value) {
if (objectStoreLocatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.add(value);
onChanged();
} else {
objectStoreLocatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder addObjectStoreLocators(
int index, io.provenance.metadata.v1.ObjectStoreLocator value) {
if (objectStoreLocatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.add(index, value);
onChanged();
} else {
objectStoreLocatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder addObjectStoreLocators(
io.provenance.metadata.v1.ObjectStoreLocator.Builder builderForValue) {
if (objectStoreLocatorsBuilder_ == null) {
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.add(builderForValue.build());
onChanged();
} else {
objectStoreLocatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder addObjectStoreLocators(
int index, io.provenance.metadata.v1.ObjectStoreLocator.Builder builderForValue) {
if (objectStoreLocatorsBuilder_ == null) {
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.add(index, builderForValue.build());
onChanged();
} else {
objectStoreLocatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder addAllObjectStoreLocators(
java.lang.Iterable extends io.provenance.metadata.v1.ObjectStoreLocator> values) {
if (objectStoreLocatorsBuilder_ == null) {
ensureObjectStoreLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectStoreLocators_);
onChanged();
} else {
objectStoreLocatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder clearObjectStoreLocators() {
if (objectStoreLocatorsBuilder_ == null) {
objectStoreLocators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
objectStoreLocatorsBuilder_.clear();
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public Builder removeObjectStoreLocators(int index) {
if (objectStoreLocatorsBuilder_ == null) {
ensureObjectStoreLocatorsIsMutable();
objectStoreLocators_.remove(index);
onChanged();
} else {
objectStoreLocatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocator.Builder getObjectStoreLocatorsBuilder(
int index) {
return getObjectStoreLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder getObjectStoreLocatorsOrBuilder(
int index) {
if (objectStoreLocatorsBuilder_ == null) {
return objectStoreLocators_.get(index); } else {
return objectStoreLocatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public java.util.List extends io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder>
getObjectStoreLocatorsOrBuilderList() {
if (objectStoreLocatorsBuilder_ != null) {
return objectStoreLocatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectStoreLocators_);
}
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocator.Builder addObjectStoreLocatorsBuilder() {
return getObjectStoreLocatorsFieldBuilder().addBuilder(
io.provenance.metadata.v1.ObjectStoreLocator.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public io.provenance.metadata.v1.ObjectStoreLocator.Builder addObjectStoreLocatorsBuilder(
int index) {
return getObjectStoreLocatorsFieldBuilder().addBuilder(
index, io.provenance.metadata.v1.ObjectStoreLocator.getDefaultInstance());
}
/**
* repeated .provenance.metadata.v1.ObjectStoreLocator object_store_locators = 9 [(.gogoproto.nullable) = false];
*/
public java.util.List
getObjectStoreLocatorsBuilderList() {
return getObjectStoreLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ObjectStoreLocator, io.provenance.metadata.v1.ObjectStoreLocator.Builder, io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder>
getObjectStoreLocatorsFieldBuilder() {
if (objectStoreLocatorsBuilder_ == null) {
objectStoreLocatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.provenance.metadata.v1.ObjectStoreLocator, io.provenance.metadata.v1.ObjectStoreLocator.Builder, io.provenance.metadata.v1.ObjectStoreLocatorOrBuilder>(
objectStoreLocators_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
objectStoreLocators_ = null;
}
return objectStoreLocatorsBuilder_;
}
@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.metadata.v1.GenesisState)
}
// @@protoc_insertion_point(class_scope:provenance.metadata.v1.GenesisState)
private static final io.provenance.metadata.v1.GenesisState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.provenance.metadata.v1.GenesisState();
}
public static io.provenance.metadata.v1.GenesisState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GenesisState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GenesisState(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.metadata.v1.GenesisState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy