Class ReportDetail

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.storageinsights.v1.ReportDetail
All Implemented Interfaces:
ReportDetailOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ReportDetail extends com.google.protobuf.GeneratedMessage implements ReportDetailOrBuilder
 Message describing ReportDetail object. ReportDetail represents metadata of
 generated reports for a ReportConfig.
 Next ID: 10
 
Protobuf type google.cloud.storageinsights.v1.ReportDetail
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • SNAPSHOT_TIME_FIELD_NUMBER

      public static final int SNAPSHOT_TIME_FIELD_NUMBER
      See Also:
    • REPORT_PATH_PREFIX_FIELD_NUMBER

      public static final int REPORT_PATH_PREFIX_FIELD_NUMBER
      See Also:
    • SHARDS_COUNT_FIELD_NUMBER

      public static final int SHARDS_COUNT_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • TARGET_DATETIME_FIELD_NUMBER

      public static final int TARGET_DATETIME_FIELD_NUMBER
      See Also:
    • REPORT_METRICS_FIELD_NUMBER

      public static final int REPORT_METRICS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Name of resource. It will be of form
       projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
       
      string name = 1;
      Specified by:
      getName in interface ReportDetailOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of resource. It will be of form
       projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ReportDetailOrBuilder
      Returns:
      The bytes for name.
    • hasSnapshotTime

      public boolean hasSnapshotTime()
       The snapshot time.
       All the report data is referenced at this point of time.
       
      .google.protobuf.Timestamp snapshot_time = 2;
      Specified by:
      hasSnapshotTime in interface ReportDetailOrBuilder
      Returns:
      Whether the snapshotTime field is set.
    • getSnapshotTime

      public com.google.protobuf.Timestamp getSnapshotTime()
       The snapshot time.
       All the report data is referenced at this point of time.
       
      .google.protobuf.Timestamp snapshot_time = 2;
      Specified by:
      getSnapshotTime in interface ReportDetailOrBuilder
      Returns:
      The snapshotTime.
    • getSnapshotTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder()
       The snapshot time.
       All the report data is referenced at this point of time.
       
      .google.protobuf.Timestamp snapshot_time = 2;
      Specified by:
      getSnapshotTimeOrBuilder in interface ReportDetailOrBuilder
    • getReportPathPrefix

      public String getReportPathPrefix()
       Prefix of the object name of each report's shard. This will have full
       prefix except the "extension" and "shard_id".
       For example, if the `destination_path` is
       `{{report-config-id}}/dt={{datetime}}`, the shard object name would be
       `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv`
       and the value of `report_path_prefix` field would be
       `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_`.
       
      string report_path_prefix = 8;
      Specified by:
      getReportPathPrefix in interface ReportDetailOrBuilder
      Returns:
      The reportPathPrefix.
    • getReportPathPrefixBytes

      public com.google.protobuf.ByteString getReportPathPrefixBytes()
       Prefix of the object name of each report's shard. This will have full
       prefix except the "extension" and "shard_id".
       For example, if the `destination_path` is
       `{{report-config-id}}/dt={{datetime}}`, the shard object name would be
       `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv`
       and the value of `report_path_prefix` field would be
       `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_`.
       
      string report_path_prefix = 8;
      Specified by:
      getReportPathPrefixBytes in interface ReportDetailOrBuilder
      Returns:
      The bytes for reportPathPrefix.
    • getShardsCount

      public long getShardsCount()
       Total shards generated for the report.
       
      int64 shards_count = 9;
      Specified by:
      getShardsCount in interface ReportDetailOrBuilder
      Returns:
      The shardsCount.
    • hasStatus

      public boolean hasStatus()
       Status of the ReportDetail.
       
      .google.rpc.Status status = 4;
      Specified by:
      hasStatus in interface ReportDetailOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       Status of the ReportDetail.
       
      .google.rpc.Status status = 4;
      Specified by:
      getStatus in interface ReportDetailOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       Status of the ReportDetail.
       
      .google.rpc.Status status = 4;
      Specified by:
      getStatusOrBuilder in interface ReportDetailOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ReportDetailOrBuilder
       Labels as key value pairs
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsCount in interface ReportDetailOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs
       
      map<string, string> labels = 5;
      Specified by:
      containsLabels in interface ReportDetailOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ReportDetailOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsMap in interface ReportDetailOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrDefault in interface ReportDetailOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrThrow in interface ReportDetailOrBuilder
    • hasTargetDatetime

      public boolean hasTargetDatetime()
       The date for which report is generated. The time part of target_datetime
       will be zero till we support multiple reports per day.
       
      .google.type.DateTime target_datetime = 6;
      Specified by:
      hasTargetDatetime in interface ReportDetailOrBuilder
      Returns:
      Whether the targetDatetime field is set.
    • getTargetDatetime

      public DateTime getTargetDatetime()
       The date for which report is generated. The time part of target_datetime
       will be zero till we support multiple reports per day.
       
      .google.type.DateTime target_datetime = 6;
      Specified by:
      getTargetDatetime in interface ReportDetailOrBuilder
      Returns:
      The targetDatetime.
    • getTargetDatetimeOrBuilder

      public DateTimeOrBuilder getTargetDatetimeOrBuilder()
       The date for which report is generated. The time part of target_datetime
       will be zero till we support multiple reports per day.
       
      .google.type.DateTime target_datetime = 6;
      Specified by:
      getTargetDatetimeOrBuilder in interface ReportDetailOrBuilder
    • hasReportMetrics

      public boolean hasReportMetrics()
       Metrics of the report.
       
      .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;
      Specified by:
      hasReportMetrics in interface ReportDetailOrBuilder
      Returns:
      Whether the reportMetrics field is set.
    • getReportMetrics

      public ReportDetail.Metrics getReportMetrics()
       Metrics of the report.
       
      .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;
      Specified by:
      getReportMetrics in interface ReportDetailOrBuilder
      Returns:
      The reportMetrics.
    • getReportMetricsOrBuilder

      public ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder()
       Metrics of the report.
       
      .google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;
      Specified by:
      getReportMetricsOrBuilder in interface ReportDetailOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ReportDetail parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReportDetail parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReportDetail parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReportDetail parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReportDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReportDetail parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReportDetail parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReportDetail parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReportDetail parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReportDetail parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReportDetail parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReportDetail parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ReportDetail.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ReportDetail.Builder newBuilder()
    • newBuilder

      public static ReportDetail.Builder newBuilder(ReportDetail prototype)
    • toBuilder

      public ReportDetail.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ReportDetail.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ReportDetail getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ReportDetail> parser()
    • getParserForType

      public com.google.protobuf.Parser<ReportDetail> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ReportDetail getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder