tech.figure.objectstore.gateway.admin.Admin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto Show documentation
Show all versions of proto Show documentation
A library for interacting with the Figure Tech Object Store Gateway
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tech/figure/objectstore/gateway/admin/admin.proto
package tech.figure.objectstore.gateway.admin;
public final class Admin {
private Admin() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PutDataStorageAccountRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return The address.
*/
java.lang.String getAddress();
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return The bytes for address.
*/
com.google.protobuf.ByteString
getAddressBytes();
/**
*
* If true, this account will be enabled for object storage routes. If false, the account will be barred from this functionality
*
*
* bool enabled = 2;
* @return The enabled.
*/
boolean getEnabled();
}
/**
*
* MASTER KEY ACCESS ONLY. This route either adds a new account or updates an existing data storage account, allowing
* access to the FetchObject and PutObject rpc routes.
*
*
* Protobuf type {@code tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest}
*/
public static final class PutDataStorageAccountRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest)
PutDataStorageAccountRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use PutDataStorageAccountRequest.newBuilder() to construct.
private PutDataStorageAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PutDataStorageAccountRequest() {
address_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PutDataStorageAccountRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.class, tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.Builder.class);
}
public static final int ADDRESS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object address_ = "";
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return The address.
*/
@java.lang.Override
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
}
}
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return The bytes for address.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENABLED_FIELD_NUMBER = 2;
private boolean enabled_ = false;
/**
*
* If true, this account will be enabled for object storage routes. If false, the account will be barred from this functionality
*
*
* bool enabled = 2;
* @return The enabled.
*/
@java.lang.Override
public boolean getEnabled() {
return enabled_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_);
}
if (enabled_ != false) {
output.writeBool(2, enabled_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, address_);
}
if (enabled_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, enabled_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest)) {
return super.equals(obj);
}
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest other = (tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest) obj;
if (!getAddress()
.equals(other.getAddress())) return false;
if (getEnabled()
!= other.getEnabled()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (37 * hash) + ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnabled());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest 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 tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest 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 tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest 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(tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest 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;
}
/**
*
* MASTER KEY ACCESS ONLY. This route either adds a new account or updates an existing data storage account, allowing
* access to the FetchObject and PutObject rpc routes.
*
*
* Protobuf type {@code tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest)
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.class, tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.Builder.class);
}
// Construct using tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
address_ = "";
enabled_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_descriptor;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest getDefaultInstanceForType() {
return tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.getDefaultInstance();
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest build() {
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest buildPartial() {
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest result = new tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.address_ = address_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.enabled_ = enabled_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest) {
return mergeFrom((tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest other) {
if (other == tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest.getDefaultInstance()) return this;
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getEnabled() != false) {
setEnabled(other.getEnabled());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
address_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
enabled_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object address_ = "";
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return The address.
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return The bytes for address.
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
address_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The Provenance Blockchain bech32 address of the account that will be added (or updated) as an authorized user for using object storage routes
*
*
* string address = 1;
* @param value The bytes for address to set.
* @return This builder for chaining.
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
address_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private boolean enabled_ ;
/**
*
* If true, this account will be enabled for object storage routes. If false, the account will be barred from this functionality
*
*
* bool enabled = 2;
* @return The enabled.
*/
@java.lang.Override
public boolean getEnabled() {
return enabled_;
}
/**
*
* If true, this account will be enabled for object storage routes. If false, the account will be barred from this functionality
*
*
* bool enabled = 2;
* @param value The enabled to set.
* @return This builder for chaining.
*/
public Builder setEnabled(boolean value) {
enabled_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* If true, this account will be enabled for object storage routes. If false, the account will be barred from this functionality
*
*
* bool enabled = 2;
* @return This builder for chaining.
*/
public Builder clearEnabled() {
bitField0_ = (bitField0_ & ~0x00000002);
enabled_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest)
}
// @@protoc_insertion_point(class_scope:tech.figure.objectstore.gateway.admin.PutDataStorageAccountRequest)
private static final tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest();
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PutDataStorageAccountRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PutDataStorageAccountResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return Whether the account field is set.
*/
boolean hasAccount();
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return The account.
*/
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getAccount();
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder getAccountOrBuilder();
}
/**
* Protobuf type {@code tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse}
*/
public static final class PutDataStorageAccountResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse)
PutDataStorageAccountResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use PutDataStorageAccountResponse.newBuilder() to construct.
private PutDataStorageAccountResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PutDataStorageAccountResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PutDataStorageAccountResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.class, tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.Builder.class);
}
public static final int ACCOUNT_FIELD_NUMBER = 1;
private tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount account_;
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return Whether the account field is set.
*/
@java.lang.Override
public boolean hasAccount() {
return account_ != null;
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return The account.
*/
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getAccount() {
return account_ == null ? tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder getAccountOrBuilder() {
return account_ == null ? tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
}
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 (account_ != null) {
output.writeMessage(1, getAccount());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (account_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAccount());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse)) {
return super.equals(obj);
}
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse other = (tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse) obj;
if (hasAccount() != other.hasAccount()) return false;
if (hasAccount()) {
if (!getAccount()
.equals(other.getAccount())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccount()) {
hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getAccount().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse 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 tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse 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 tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse 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(tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse)
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.class, tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.Builder.class);
}
// Construct using tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
account_ = null;
if (accountBuilder_ != null) {
accountBuilder_.dispose();
accountBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_descriptor;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse getDefaultInstanceForType() {
return tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.getDefaultInstance();
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse build() {
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse buildPartial() {
tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse result = new tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.account_ = accountBuilder_ == null
? account_
: accountBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse) {
return mergeFrom((tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse other) {
if (other == tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse.getDefaultInstance()) return this;
if (other.hasAccount()) {
mergeAccount(other.getAccount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getAccountFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount account_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder> accountBuilder_;
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return Whether the account field is set.
*/
public boolean hasAccount() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return The account.
*/
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getAccount() {
if (accountBuilder_ == null) {
return account_ == null ? tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
} else {
return accountBuilder_.getMessage();
}
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder setAccount(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount value) {
if (accountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
account_ = value;
} else {
accountBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder setAccount(
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder builderForValue) {
if (accountBuilder_ == null) {
account_ = builderForValue.build();
} else {
accountBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder mergeAccount(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount value) {
if (accountBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
account_ != null &&
account_ != tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance()) {
getAccountBuilder().mergeFrom(value);
} else {
account_ = value;
}
} else {
accountBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder clearAccount() {
bitField0_ = (bitField0_ & ~0x00000001);
account_ = null;
if (accountBuilder_ != null) {
accountBuilder_.dispose();
accountBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder getAccountBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getAccountFieldBuilder().getBuilder();
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder getAccountOrBuilder() {
if (accountBuilder_ != null) {
return accountBuilder_.getMessageOrBuilder();
} else {
return account_ == null ?
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
}
}
/**
*
* The account created in the service by the request
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder>
getAccountFieldBuilder() {
if (accountBuilder_ == null) {
accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder>(
getAccount(),
getParentForChildren(),
isClean());
account_ = null;
}
return accountBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse)
}
// @@protoc_insertion_point(class_scope:tech.figure.objectstore.gateway.admin.PutDataStorageAccountResponse)
private static final tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse();
}
public static tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PutDataStorageAccountResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.PutDataStorageAccountResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FetchDataStorageAccountRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return The address.
*/
java.lang.String getAddress();
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return The bytes for address.
*/
com.google.protobuf.ByteString
getAddressBytes();
}
/**
*
* MASTER KEY ACCESS ONLY. This route returns information about an existing data storage account.
* If an account does not exist in the server for this address, a NOT_FOUND error will be emitted.
*
*
* Protobuf type {@code tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest}
*/
public static final class FetchDataStorageAccountRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest)
FetchDataStorageAccountRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use FetchDataStorageAccountRequest.newBuilder() to construct.
private FetchDataStorageAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FetchDataStorageAccountRequest() {
address_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FetchDataStorageAccountRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.class, tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.Builder.class);
}
public static final int ADDRESS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object address_ = "";
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return The address.
*/
@java.lang.Override
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
}
}
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return The bytes for address.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, address_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest)) {
return super.equals(obj);
}
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest other = (tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest) obj;
if (!getAddress()
.equals(other.getAddress())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest 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 tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest 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 tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest 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(tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest 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;
}
/**
*
* MASTER KEY ACCESS ONLY. This route returns information about an existing data storage account.
* If an account does not exist in the server for this address, a NOT_FOUND error will be emitted.
*
*
* Protobuf type {@code tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest)
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.class, tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.Builder.class);
}
// Construct using tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
address_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_descriptor;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest getDefaultInstanceForType() {
return tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.getDefaultInstance();
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest build() {
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest buildPartial() {
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest result = new tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.address_ = address_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest) {
return mergeFrom((tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest other) {
if (other == tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest.getDefaultInstance()) return this;
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
address_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object address_ = "";
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return The address.
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return The bytes for address.
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
address_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The Provenance Blockchain bech32 address of the account for which to fetch a storage record
*
*
* string address = 1;
* @param value The bytes for address to set.
* @return This builder for chaining.
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
address_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest)
}
// @@protoc_insertion_point(class_scope:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountRequest)
private static final tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest();
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FetchDataStorageAccountRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FetchDataStorageAccountResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return Whether the account field is set.
*/
boolean hasAccount();
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return The account.
*/
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getAccount();
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder getAccountOrBuilder();
}
/**
* Protobuf type {@code tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse}
*/
public static final class FetchDataStorageAccountResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse)
FetchDataStorageAccountResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FetchDataStorageAccountResponse.newBuilder() to construct.
private FetchDataStorageAccountResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FetchDataStorageAccountResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FetchDataStorageAccountResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.class, tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.Builder.class);
}
public static final int ACCOUNT_FIELD_NUMBER = 1;
private tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount account_;
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return Whether the account field is set.
*/
@java.lang.Override
public boolean hasAccount() {
return account_ != null;
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return The account.
*/
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getAccount() {
return account_ == null ? tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder getAccountOrBuilder() {
return account_ == null ? tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
}
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 (account_ != null) {
output.writeMessage(1, getAccount());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (account_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAccount());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse)) {
return super.equals(obj);
}
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse other = (tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse) obj;
if (hasAccount() != other.hasAccount()) return false;
if (hasAccount()) {
if (!getAccount()
.equals(other.getAccount())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccount()) {
hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getAccount().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse 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 tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse 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 tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse 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(tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse)
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.class, tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.Builder.class);
}
// Construct using tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
account_ = null;
if (accountBuilder_ != null) {
accountBuilder_.dispose();
accountBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_descriptor;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse getDefaultInstanceForType() {
return tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.getDefaultInstance();
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse build() {
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse buildPartial() {
tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse result = new tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.account_ = accountBuilder_ == null
? account_
: accountBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse) {
return mergeFrom((tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse other) {
if (other == tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse.getDefaultInstance()) return this;
if (other.hasAccount()) {
mergeAccount(other.getAccount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getAccountFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount account_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder> accountBuilder_;
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return Whether the account field is set.
*/
public boolean hasAccount() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
* @return The account.
*/
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getAccount() {
if (accountBuilder_ == null) {
return account_ == null ? tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
} else {
return accountBuilder_.getMessage();
}
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder setAccount(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount value) {
if (accountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
account_ = value;
} else {
accountBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder setAccount(
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder builderForValue) {
if (accountBuilder_ == null) {
account_ = builderForValue.build();
} else {
accountBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder mergeAccount(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount value) {
if (accountBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
account_ != null &&
account_ != tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance()) {
getAccountBuilder().mergeFrom(value);
} else {
account_ = value;
}
} else {
accountBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public Builder clearAccount() {
bitField0_ = (bitField0_ & ~0x00000001);
account_ = null;
if (accountBuilder_ != null) {
accountBuilder_.dispose();
accountBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder getAccountBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getAccountFieldBuilder().getBuilder();
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder getAccountOrBuilder() {
if (accountBuilder_ != null) {
return accountBuilder_.getMessageOrBuilder();
} else {
return account_ == null ?
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance() : account_;
}
}
/**
*
* Values pertaining to an existing data storage account
*
*
* .tech.figure.objectstore.gateway.admin.DataStorageAccount account = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder>
getAccountFieldBuilder() {
if (accountBuilder_ == null) {
accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder>(
getAccount(),
getParentForChildren(),
isClean());
account_ = null;
}
return accountBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse)
}
// @@protoc_insertion_point(class_scope:tech.figure.objectstore.gateway.admin.FetchDataStorageAccountResponse)
private static final tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse();
}
public static tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FetchDataStorageAccountResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.FetchDataStorageAccountResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DataStorageAccountOrBuilder extends
// @@protoc_insertion_point(interface_extends:tech.figure.objectstore.gateway.admin.DataStorageAccount)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return The address.
*/
java.lang.String getAddress();
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return The bytes for address.
*/
com.google.protobuf.ByteString
getAddressBytes();
/**
*
* If true, this account exists in the gateway service and is allowed to use object storage routes
*
*
* bool enabled = 2;
* @return The enabled.
*/
boolean getEnabled();
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
* @return Whether the created field is set.
*/
boolean hasCreated();
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
* @return The created.
*/
com.google.protobuf.Timestamp getCreated();
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
}
/**
* Protobuf type {@code tech.figure.objectstore.gateway.admin.DataStorageAccount}
*/
public static final class DataStorageAccount extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.figure.objectstore.gateway.admin.DataStorageAccount)
DataStorageAccountOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataStorageAccount.newBuilder() to construct.
private DataStorageAccount(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataStorageAccount() {
address_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataStorageAccount();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.class, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder.class);
}
public static final int ADDRESS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object address_ = "";
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return The address.
*/
@java.lang.Override
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
}
}
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return The bytes for address.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENABLED_FIELD_NUMBER = 2;
private boolean enabled_ = false;
/**
*
* If true, this account exists in the gateway service and is allowed to use object storage routes
*
*
* bool enabled = 2;
* @return The enabled.
*/
@java.lang.Override
public boolean getEnabled() {
return enabled_;
}
public static final int CREATED_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp created_;
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
* @return Whether the created field is set.
*/
@java.lang.Override
public boolean hasCreated() {
return created_ != null;
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
* @return The created.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreated() {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_);
}
if (enabled_ != false) {
output.writeBool(2, enabled_);
}
if (created_ != null) {
output.writeMessage(3, getCreated());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, address_);
}
if (enabled_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, enabled_);
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCreated());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount)) {
return super.equals(obj);
}
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount other = (tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount) obj;
if (!getAddress()
.equals(other.getAddress())) return false;
if (getEnabled()
!= other.getEnabled()) return false;
if (hasCreated() != other.hasCreated()) return false;
if (hasCreated()) {
if (!getCreated()
.equals(other.getCreated())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (37 * hash) + ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnabled());
if (hasCreated()) {
hash = (37 * hash) + CREATED_FIELD_NUMBER;
hash = (53 * hash) + getCreated().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount 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 tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount 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 tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount 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(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code tech.figure.objectstore.gateway.admin.DataStorageAccount}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tech.figure.objectstore.gateway.admin.DataStorageAccount)
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccountOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.class, tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.Builder.class);
}
// Construct using tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
address_ = "";
enabled_ = false;
created_ = null;
if (createdBuilder_ != null) {
createdBuilder_.dispose();
createdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.figure.objectstore.gateway.admin.Admin.internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_descriptor;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getDefaultInstanceForType() {
return tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance();
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount build() {
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount buildPartial() {
tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount result = new tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.address_ = address_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.enabled_ = enabled_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.created_ = createdBuilder_ == null
? created_
: createdBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount) {
return mergeFrom((tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount other) {
if (other == tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount.getDefaultInstance()) return this;
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getEnabled() != false) {
setEnabled(other.getEnabled());
}
if (other.hasCreated()) {
mergeCreated(other.getCreated());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
address_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
enabled_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
input.readMessage(
getCreatedFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object address_ = "";
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return The address.
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return The bytes for address.
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
address_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The Provenance Blockchain bech32 address of this account
*
*
* string address = 1;
* @param value The bytes for address to set.
* @return This builder for chaining.
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
address_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private boolean enabled_ ;
/**
*
* If true, this account exists in the gateway service and is allowed to use object storage routes
*
*
* bool enabled = 2;
* @return The enabled.
*/
@java.lang.Override
public boolean getEnabled() {
return enabled_;
}
/**
*
* If true, this account exists in the gateway service and is allowed to use object storage routes
*
*
* bool enabled = 2;
* @param value The enabled to set.
* @return This builder for chaining.
*/
public Builder setEnabled(boolean value) {
enabled_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* If true, this account exists in the gateway service and is allowed to use object storage routes
*
*
* bool enabled = 2;
* @return This builder for chaining.
*/
public Builder clearEnabled() {
bitField0_ = (bitField0_ & ~0x00000002);
enabled_ = false;
onChanged();
return this;
}
private com.google.protobuf.Timestamp created_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_;
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
* @return Whether the created field is set.
*/
public boolean hasCreated() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
* @return The created.
*/
public com.google.protobuf.Timestamp getCreated() {
if (createdBuilder_ == null) {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
} else {
return createdBuilder_.getMessage();
}
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
public Builder setCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
created_ = value;
} else {
createdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
public Builder setCreated(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdBuilder_ == null) {
created_ = builderForValue.build();
} else {
createdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
public Builder mergeCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
created_ != null &&
created_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getCreatedBuilder().mergeFrom(value);
} else {
created_ = value;
}
} else {
createdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
public Builder clearCreated() {
bitField0_ = (bitField0_ & ~0x00000004);
created_ = null;
if (createdBuilder_ != null) {
createdBuilder_.dispose();
createdBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
if (createdBuilder_ != null) {
return createdBuilder_.getMessageOrBuilder();
} else {
return created_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
}
/**
*
* The timestamp at which this account was created
*
*
* .google.protobuf.Timestamp created = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedFieldBuilder() {
if (createdBuilder_ == null) {
createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreated(),
getParentForChildren(),
isClean());
created_ = null;
}
return createdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tech.figure.objectstore.gateway.admin.DataStorageAccount)
}
// @@protoc_insertion_point(class_scope:tech.figure.objectstore.gateway.admin.DataStorageAccount)
private static final tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount();
}
public static tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataStorageAccount parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.figure.objectstore.gateway.admin.Admin.DataStorageAccount getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n1tech/figure/objectstore/gateway/admin/" +
"admin.proto\022%tech.figure.objectstore.gat" +
"eway.admin\032\037google/protobuf/timestamp.pr" +
"oto\"@\n\034PutDataStorageAccountRequest\022\017\n\007a" +
"ddress\030\001 \001(\t\022\017\n\007enabled\030\002 \001(\010\"k\n\035PutData" +
"StorageAccountResponse\022J\n\007account\030\001 \001(\0132" +
"9.tech.figure.objectstore.gateway.admin." +
"DataStorageAccount\"1\n\036FetchDataStorageAc" +
"countRequest\022\017\n\007address\030\001 \001(\t\"m\n\037FetchDa" +
"taStorageAccountResponse\022J\n\007account\030\001 \001(" +
"\01329.tech.figure.objectstore.gateway.admi" +
"n.DataStorageAccount\"c\n\022DataStorageAccou" +
"nt\022\017\n\007address\030\001 \001(\t\022\017\n\007enabled\030\002 \001(\010\022+\n\007" +
"created\030\003 \001(\0132\032.google.protobuf.Timestam" +
"p2\342\002\n\014GatewayAdmin\022\244\001\n\025PutDataStorageAcc" +
"ount\022C.tech.figure.objectstore.gateway.a" +
"dmin.PutDataStorageAccountRequest\032D.tech" +
".figure.objectstore.gateway.admin.PutDat" +
"aStorageAccountResponse\"\000\022\252\001\n\027FetchDataS" +
"torageAccount\022E.tech.figure.objectstore." +
"gateway.admin.FetchDataStorageAccountReq" +
"uest\032F.tech.figure.objectstore.gateway.a" +
"dmin.FetchDataStorageAccountResponse\"\000b\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountRequest_descriptor,
new java.lang.String[] { "Address", "Enabled", });
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tech_figure_objectstore_gateway_admin_PutDataStorageAccountResponse_descriptor,
new java.lang.String[] { "Account", });
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountRequest_descriptor,
new java.lang.String[] { "Address", });
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tech_figure_objectstore_gateway_admin_FetchDataStorageAccountResponse_descriptor,
new java.lang.String[] { "Account", });
internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tech_figure_objectstore_gateway_admin_DataStorageAccount_descriptor,
new java.lang.String[] { "Address", "Enabled", "Created", });
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}