com.hedera.services.stream.proto.SidecarMetadataOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: record_stream_file.proto
package com.hedera.services.stream.proto;
public interface SidecarMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.SidecarMetadata)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The hash of the entire file.
*
*
* .proto.HashObject hash = 1;
* @return Whether the hash field is set.
*/
boolean hasHash();
/**
*
**
* The hash of the entire file.
*
*
* .proto.HashObject hash = 1;
* @return The hash.
*/
com.hedera.services.stream.proto.HashObject getHash();
/**
*
**
* The hash of the entire file.
*
*
* .proto.HashObject hash = 1;
*/
com.hedera.services.stream.proto.HashObjectOrBuilder getHashOrBuilder();
/**
*
**
* The id of the sidecar record file
*
*
* int32 id = 2;
* @return The id.
*/
int getId();
/**
*
**
* The types of sidecar records that will be included in the file.
*
*
* repeated .proto.SidecarType types = 3;
* @return A list containing the types.
*/
java.util.List getTypesList();
/**
*
**
* The types of sidecar records that will be included in the file.
*
*
* repeated .proto.SidecarType types = 3;
* @return The count of types.
*/
int getTypesCount();
/**
*
**
* The types of sidecar records that will be included in the file.
*
*
* repeated .proto.SidecarType types = 3;
* @param index The index of the element to return.
* @return The types at the given index.
*/
com.hedera.services.stream.proto.SidecarType getTypes(int index);
/**
*
**
* The types of sidecar records that will be included in the file.
*
*
* repeated .proto.SidecarType types = 3;
* @return A list containing the enum numeric values on the wire for types.
*/
java.util.List
getTypesValueList();
/**
*
**
* The types of sidecar records that will be included in the file.
*
*
* repeated .proto.SidecarType types = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of types at the given index.
*/
int getTypesValue(int index);
}