Interface ReportDetailOrBuilder (0.25.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
NameDescription
keyString
Returns
TypeDescription
boolean

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs

map<string, string> labels = 5;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs

map<string, string> labels = 5;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs

map<string, string> labels = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ReportDetail.Metrics

The reportMetrics.

getReportMetricsOrBuilder()

public abstract ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder()

Metrics of the report.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for reportPathPrefix.

getShardsCount()

public abstract long getShardsCount()

Total shards generated for the report.

int64 shards_count = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getStatus()

public abstract Status getStatus()

Status of the ReportDetail.

.google.rpc.Status status = 4;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

Status of the ReportDetail.

.google.rpc.Status status = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.DateTimeOrBuilder

hasReportMetrics()

public abstract boolean hasReportMetrics()

Metrics of the report.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the snapshotTime field is set.

hasStatus()

public abstract boolean hasStatus()

Status of the ReportDetail.

.google.rpc.Status status = 4;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the targetDatetime field is set.