Send feedback
Class ReportDetail (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.0 keyboard_arrow_down
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]