Class ReportDetail

  • All Implemented Interfaces:
    ReportDetailOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ReportDetail
    extends com.google.protobuf.GeneratedMessageV3
    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:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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 com.google.rpc.Status getStatus()
         Status of the ReportDetail.
         
        .google.rpc.Status status = 4;
        Specified by:
        getStatus in interface ReportDetailOrBuilder
        Returns:
        The status.
      • getStatusOrBuilder

        public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
         Status of the ReportDetail.
         
        .google.rpc.Status status = 4;
        Specified by:
        getStatusOrBuilder 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 com.google.type.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 com.google.type.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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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