Interface ReportDetailOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReportDetail,ReportDetail.Builder
@Generated
public interface ReportDetailOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels as key value pairsDeprecated.intLabels as key value pairsLabels as key value pairsgetLabelsOrDefault(String key, String defaultValue) Labels as key value pairsgetLabelsOrThrow(String key) Labels as key value pairsgetName()Name of resource.com.google.protobuf.ByteStringName of resource.Metrics of the report.Metrics of the report.Prefix of the object name of each report's shard.com.google.protobuf.ByteStringPrefix of the object name of each report's shard.longTotal shards generated for the report.com.google.protobuf.TimestampThe snapshot time.com.google.protobuf.TimestampOrBuilderThe snapshot time.Status of the ReportDetail.Status of the ReportDetail.The date for which report is generated.The date for which report is generated.booleanMetrics of the report.booleanThe snapshot time.booleanStatus of the ReportDetail.booleanThe date for which report is generated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
hasSnapshotTime
boolean hasSnapshotTime()The snapshot time. All the report data is referenced at this point of time.
.google.protobuf.Timestamp snapshot_time = 2;- Returns:
- Whether the snapshotTime field is set.
-
getSnapshotTime
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;- Returns:
- The snapshotTime.
-
getSnapshotTimeOrBuilder
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; -
getReportPathPrefix
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;- Returns:
- The reportPathPrefix.
-
getReportPathPrefixBytes
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;- Returns:
- The bytes for reportPathPrefix.
-
getShardsCount
long getShardsCount()Total shards generated for the report.
int64 shards_count = 9;- Returns:
- The shardsCount.
-
hasStatus
boolean hasStatus()Status of the ReportDetail.
.google.rpc.Status status = 4;- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus()Status of the ReportDetail.
.google.rpc.Status status = 4;- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder()Status of the ReportDetail.
.google.rpc.Status status = 4; -
getLabelsCount
int getLabelsCount()Labels as key value pairs
map<string, string> labels = 5; -
containsLabels
Labels as key value pairs
map<string, string> labels = 5; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs
map<string, string> labels = 5; -
getLabelsOrDefault
Labels as key value pairs
map<string, string> labels = 5; -
getLabelsOrThrow
Labels as key value pairs
map<string, string> labels = 5; -
hasTargetDatetime
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;- Returns:
- Whether the targetDatetime field is set.
-
getTargetDatetime
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;- Returns:
- The targetDatetime.
-
getTargetDatetimeOrBuilder
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; -
hasReportMetrics
boolean hasReportMetrics()Metrics of the report.
.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;- Returns:
- Whether the reportMetrics field is set.
-
getReportMetrics
ReportDetail.Metrics getReportMetrics()Metrics of the report.
.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;- Returns:
- The reportMetrics.
-
getReportMetricsOrBuilder
ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder()Metrics of the report.
.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;
-