Interface ReportDetailOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReportDetail,ReportDetail.Builder
public interface ReportDetailOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels as key value pairsMap<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairsMap<String,String>getLabelsMap()Labels as key value pairsStringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairsStringgetLabelsOrThrow(String key)Labels as key value pairsStringgetName()Name of resource.com.google.protobuf.ByteStringgetNameBytes()Name of resource.ReportDetail.MetricsgetReportMetrics()Metrics of the report.ReportDetail.MetricsOrBuildergetReportMetricsOrBuilder()Metrics of the report.StringgetReportPathPrefix()Prefix of the object name of each report's shard.com.google.protobuf.ByteStringgetReportPathPrefixBytes()Prefix of the object name of each report's shard.longgetShardsCount()Total shards generated for the report.com.google.protobuf.TimestampgetSnapshotTime()The snapshot time.com.google.protobuf.TimestampOrBuildergetSnapshotTimeOrBuilder()The snapshot time.com.google.rpc.StatusgetStatus()Status of the ReportDetail.com.google.rpc.StatusOrBuildergetStatusOrBuilder()Status of the ReportDetail.com.google.type.DateTimegetTargetDatetime()The date for which report is generated.com.google.type.DateTimeOrBuildergetTargetDatetimeOrBuilder()The date for which report is generated.booleanhasReportMetrics()Metrics of the report.booleanhasSnapshotTime()The snapshot time.booleanhasStatus()Status of the ReportDetail.booleanhasTargetDatetime()The date for which report is generated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
com.google.rpc.Status getStatus()
Status of the ReportDetail.
.google.rpc.Status status = 4;- Returns:
- The status.
-
getStatusOrBuilder
com.google.rpc.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
boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 5;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 5;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 5;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
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
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;- Returns:
- The targetDatetime.
-
getTargetDatetimeOrBuilder
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;
-
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;
-
-