Class ReportConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.storageinsights.v1.ReportConfig
-
- All Implemented Interfaces:
ReportConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReportConfig extends com.google.protobuf.GeneratedMessageV3 implements ReportConfigOrBuilder
Message describing ReportConfig object. ReportConfig is the configuration to generate reports. See https://cloud.google.com/storage/docs/insights/using-inventory-reports#create-config-rest for more details on how to set various fields. Next ID: 12
Protobuf typegoogle.cloud.storageinsights.v1.ReportConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportConfig.BuilderMessage describing ReportConfig object.static classReportConfig.ReportFormatCasestatic classReportConfig.ReportKindCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intCSV_OPTIONS_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intFREQUENCY_OPTIONS_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOBJECT_METADATA_REPORT_OPTIONS_FIELD_NUMBERstatic intPARQUET_OPTIONS_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels as key value pairsbooleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.CSVOptionsgetCsvOptions()Options for CSV formatted reports.CSVOptionsOrBuildergetCsvOptionsOrBuilder()Options for CSV formatted reports.static ReportConfiggetDefaultInstance()ReportConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()User provided display name which can be empty and limited to 256 characters that is editable.com.google.protobuf.ByteStringgetDisplayNameBytes()User provided display name which can be empty and limited to 256 characters that is editable.FrequencyOptionsgetFrequencyOptions()The frequency of report generation.FrequencyOptionsOrBuildergetFrequencyOptionsOrBuilder()The frequency of report generation.Map<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.ObjectMetadataReportOptionsgetObjectMetadataReportOptions()Report for exporting object metadata.ObjectMetadataReportOptionsOrBuildergetObjectMetadataReportOptionsOrBuilder()Report for exporting object metadata.ParquetOptionsgetParquetOptions()Options for Parquet formatted reports.ParquetOptionsOrBuildergetParquetOptionsOrBuilder()Options for Parquet formatted reports.com.google.protobuf.Parser<ReportConfig>getParserForType()ReportConfig.ReportFormatCasegetReportFormatCase()ReportConfig.ReportKindCasegetReportKindCase()intgetSerializedSize()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasCsvOptions()Options for CSV formatted reports.booleanhasFrequencyOptions()The frequency of report generation.inthashCode()booleanhasObjectMetadataReportOptions()Report for exporting object metadata.booleanhasParquetOptions()Options for Parquet formatted reports.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ReportConfig.BuildernewBuilder()static ReportConfig.BuildernewBuilder(ReportConfig prototype)ReportConfig.BuildernewBuilderForType()protected ReportConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReportConfigparseDelimitedFrom(InputStream input)static ReportConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportConfigparseFrom(byte[] data)static ReportConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportConfigparseFrom(com.google.protobuf.ByteString data)static ReportConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportConfigparseFrom(com.google.protobuf.CodedInputStream input)static ReportConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportConfigparseFrom(InputStream input)static ReportConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportConfigparseFrom(ByteBuffer data)static ReportConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReportConfig>parser()ReportConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FREQUENCY_OPTIONS_FIELD_NUMBER
public static final int FREQUENCY_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSV_OPTIONS_FIELD_NUMBER
public static final int CSV_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARQUET_OPTIONS_FIELD_NUMBER
public static final int PARQUET_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECT_METADATA_REPORT_OPTIONS_FIELD_NUMBER
public static final int OBJECT_METADATA_REPORT_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getReportFormatCase
public ReportConfig.ReportFormatCase getReportFormatCase()
- Specified by:
getReportFormatCasein interfaceReportConfigOrBuilder
-
getReportKindCase
public ReportConfig.ReportKindCase getReportKindCase()
- Specified by:
getReportKindCasein interfaceReportConfigOrBuilder
-
getName
public String getName()
name of resource. It will be of form projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
string name = 1;- Specified by:
getNamein interfaceReportConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
name of resource. It will be of form projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
string name = 1;- Specified by:
getNameBytesin interfaceReportConfigOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceReportConfigOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceReportConfigOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceReportConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceReportConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceReportConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceReportConfigOrBuilder
-
hasFrequencyOptions
public boolean hasFrequencyOptions()
The frequency of report generation.
.google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5;- Specified by:
hasFrequencyOptionsin interfaceReportConfigOrBuilder- Returns:
- Whether the frequencyOptions field is set.
-
getFrequencyOptions
public FrequencyOptions getFrequencyOptions()
The frequency of report generation.
.google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5;- Specified by:
getFrequencyOptionsin interfaceReportConfigOrBuilder- Returns:
- The frequencyOptions.
-
getFrequencyOptionsOrBuilder
public FrequencyOptionsOrBuilder getFrequencyOptionsOrBuilder()
The frequency of report generation.
.google.cloud.storageinsights.v1.FrequencyOptions frequency_options = 5;- Specified by:
getFrequencyOptionsOrBuilderin interfaceReportConfigOrBuilder
-
hasCsvOptions
public boolean hasCsvOptions()
Options for CSV formatted reports.
.google.cloud.storageinsights.v1.CSVOptions csv_options = 6;- Specified by:
hasCsvOptionsin interfaceReportConfigOrBuilder- Returns:
- Whether the csvOptions field is set.
-
getCsvOptions
public CSVOptions getCsvOptions()
Options for CSV formatted reports.
.google.cloud.storageinsights.v1.CSVOptions csv_options = 6;- Specified by:
getCsvOptionsin interfaceReportConfigOrBuilder- Returns:
- The csvOptions.
-
getCsvOptionsOrBuilder
public CSVOptionsOrBuilder getCsvOptionsOrBuilder()
Options for CSV formatted reports.
.google.cloud.storageinsights.v1.CSVOptions csv_options = 6;- Specified by:
getCsvOptionsOrBuilderin interfaceReportConfigOrBuilder
-
hasParquetOptions
public boolean hasParquetOptions()
Options for Parquet formatted reports.
.google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7;- Specified by:
hasParquetOptionsin interfaceReportConfigOrBuilder- Returns:
- Whether the parquetOptions field is set.
-
getParquetOptions
public ParquetOptions getParquetOptions()
Options for Parquet formatted reports.
.google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7;- Specified by:
getParquetOptionsin interfaceReportConfigOrBuilder- Returns:
- The parquetOptions.
-
getParquetOptionsOrBuilder
public ParquetOptionsOrBuilder getParquetOptionsOrBuilder()
Options for Parquet formatted reports.
.google.cloud.storageinsights.v1.ParquetOptions parquet_options = 7;- Specified by:
getParquetOptionsOrBuilderin interfaceReportConfigOrBuilder
-
hasObjectMetadataReportOptions
public boolean hasObjectMetadataReportOptions()
Report for exporting object metadata.
.google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8;- Specified by:
hasObjectMetadataReportOptionsin interfaceReportConfigOrBuilder- Returns:
- Whether the objectMetadataReportOptions field is set.
-
getObjectMetadataReportOptions
public ObjectMetadataReportOptions getObjectMetadataReportOptions()
Report for exporting object metadata.
.google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8;- Specified by:
getObjectMetadataReportOptionsin interfaceReportConfigOrBuilder- Returns:
- The objectMetadataReportOptions.
-
getObjectMetadataReportOptionsOrBuilder
public ObjectMetadataReportOptionsOrBuilder getObjectMetadataReportOptionsOrBuilder()
Report for exporting object metadata.
.google.cloud.storageinsights.v1.ObjectMetadataReportOptions object_metadata_report_options = 8;- Specified by:
getObjectMetadataReportOptionsOrBuilderin interfaceReportConfigOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ReportConfigOrBuilderLabels as key value pairs
map<string, string> labels = 10;- Specified by:
getLabelsCountin interfaceReportConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 10;- Specified by:
containsLabelsin interfaceReportConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceReportConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 10;- Specified by:
getLabelsMapin interfaceReportConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 10;- Specified by:
getLabelsOrDefaultin interfaceReportConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 10;- Specified by:
getLabelsOrThrowin interfaceReportConfigOrBuilder
-
getDisplayName
public String getDisplayName()
User provided display name which can be empty and limited to 256 characters that is editable.
string display_name = 11;- Specified by:
getDisplayNamein interfaceReportConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User provided display name which can be empty and limited to 256 characters that is editable.
string display_name = 11;- Specified by:
getDisplayNameBytesin interfaceReportConfigOrBuilder- Returns:
- The bytes for displayName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReportConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReportConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReportConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReportConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReportConfig.Builder newBuilder()
-
newBuilder
public static ReportConfig.Builder newBuilder(ReportConfig prototype)
-
toBuilder
public ReportConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReportConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReportConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReportConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ReportConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReportConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-