public final class ReportDetail extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPORT_METRICS_FIELD_NUMBER
public static final int REPORT_METRICS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPORT_PATH_PREFIX_FIELD_NUMBER
public static final int REPORT_PATH_PREFIX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SHARDS_COUNT_FIELD_NUMBER
public static final int SHARDS_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SNAPSHOT_TIME_FIELD_NUMBER
public static final int SNAPSHOT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_DATETIME_FIELD_NUMBER
public static final int TARGET_DATETIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReportDetail getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReportDetail.Builder newBuilder()
newBuilder(ReportDetail prototype)
public static ReportDetail.Builder newBuilder(ReportDetail prototype)
public static ReportDetail parseDelimitedFrom(InputStream input)
public static ReportDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReportDetail parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReportDetail parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportDetail parseFrom(CodedInputStream input)
public static ReportDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDetail parseFrom(InputStream input)
public static ReportDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReportDetail parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReportDetail> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 5;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ReportDetail getDefaultInstanceForType()
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs
map<string, string> labels = 5;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 5;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 5;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 5;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
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 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.
|
getParserForType()
public Parser<ReportDetail> getParserForType()
Overrides
getReportMetrics()
public ReportDetail.Metrics getReportMetrics()
Metrics of the report.
.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;
getReportMetricsOrBuilder()
public ReportDetail.MetricsOrBuilder getReportMetricsOrBuilder()
Metrics of the report.
.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;
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;
Returns |
Type |
Description |
String |
The reportPathPrefix.
|
getReportPathPrefixBytes()
public 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getShardsCount()
public long getShardsCount()
Total shards generated for the report.
int64 shards_count = 9;
Returns |
Type |
Description |
long |
The shardsCount.
|
getSnapshotTime()
public 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 TimestampOrBuilder getSnapshotTimeOrBuilder()
The snapshot time.
All the report data is referenced at this point of time.
.google.protobuf.Timestamp snapshot_time = 2;
getStatus()
public Status getStatus()
Status of the ReportDetail.
.google.rpc.Status status = 4;
Returns |
Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
Status of the ReportDetail.
.google.rpc.Status status = 4;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getTargetDatetime()
public 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 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 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 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 boolean hasStatus()
Status of the ReportDetail.
.google.rpc.Status status = 4;
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the targetDatetime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReportDetail.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReportDetail.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides