Interface ReportDetailOrBuilder (0.1.0)

public interface ReportDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs

map<string, string> labels = 5;

Parameter
Name Description
key String
Returns
Type Description
boolean

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs

map<string, string> labels = 5;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs

map<string, string> labels = 5;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs

map<string, string> labels = 5;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs

map<string, string> labels = 5;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getReportMetrics()

public abstract ReportDetail.Metrics getReportMetrics()

Metrics of the report.

.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;

Returns
Type Description
ReportDetail.Metrics

The reportMetrics.

getReportMetricsOrBuilder()

public abstract ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder()

Metrics of the report.

.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;

Returns
Type Description
ReportDetail.MetricsOrBuilder

getReportPathPrefix()

public abstract 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
Type Description
String

The reportPathPrefix.

getReportPathPrefixBytes()

public abstract 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
Type Description
ByteString

The bytes for reportPathPrefix.

getShardsCount()

public abstract long getShardsCount()

Total shards generated for the report.

int64 shards_count = 9;

Returns
Type Description
long

The shardsCount.

getSnapshotTime()

public abstract Timestamp getSnapshotTime()

The snapshot time. All the report data is referenced at this point of time.

.google.protobuf.Timestamp snapshot_time = 2;

Returns
Type Description
Timestamp

The snapshotTime.

getSnapshotTimeOrBuilder()

public abstract TimestampOrBuilder getSnapshotTimeOrBuilder()

The snapshot time. All the report data is referenced at this point of time.

.google.protobuf.Timestamp snapshot_time = 2;

Returns
Type Description
TimestampOrBuilder

getStatus()

public abstract Status getStatus()

Status of the ReportDetail.

.google.rpc.Status status = 4;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

Status of the ReportDetail.

.google.rpc.Status status = 4;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTargetDatetime()

public abstract 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
Type Description
com.google.type.DateTime

The targetDatetime.

getTargetDatetimeOrBuilder()

public abstract 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;

Returns
Type Description
com.google.type.DateTimeOrBuilder

hasReportMetrics()

public abstract boolean hasReportMetrics()

Metrics of the report.

.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;

Returns
Type Description
boolean

Whether the reportMetrics field is set.

hasSnapshotTime()

public abstract boolean hasSnapshotTime()

The snapshot time. All the report data is referenced at this point of time.

.google.protobuf.Timestamp snapshot_time = 2;

Returns
Type Description
boolean

Whether the snapshotTime field is set.

hasStatus()

public abstract boolean hasStatus()

Status of the ReportDetail.

.google.rpc.Status status = 4;

Returns
Type Description
boolean

Whether the status field is set.

hasTargetDatetime()

public abstract 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
Type Description
boolean

Whether the targetDatetime field is set.