public final class ObjectMetadataReportOptions extends GeneratedMessageV3 implements ObjectMetadataReportOptionsOrBuilder
Report specification for exporting object metadata. Next ID: 4
Protobuf type google.cloud.storageinsights.v1.ObjectMetadataReportOptions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ObjectMetadataReportOptionsImplements
ObjectMetadataReportOptionsOrBuilderStatic Fields
METADATA_FIELDS_FIELD_NUMBER
public static final int METADATA_FIELDS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STORAGE_DESTINATION_OPTIONS_FIELD_NUMBER
public static final int STORAGE_DESTINATION_OPTIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STORAGE_FILTERS_FIELD_NUMBER
public static final int STORAGE_FILTERS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ObjectMetadataReportOptions getDefaultInstance()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ObjectMetadataReportOptions.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.Builder |
newBuilder(ObjectMetadataReportOptions prototype)
public static ObjectMetadataReportOptions.Builder newBuilder(ObjectMetadataReportOptions prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ObjectMetadataReportOptions |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.Builder |
parseDelimitedFrom(InputStream input)
public static ObjectMetadataReportOptions parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ObjectMetadataReportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ObjectMetadataReportOptions parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ObjectMetadataReportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ObjectMetadataReportOptions parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectMetadataReportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ObjectMetadataReportOptions parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ObjectMetadataReportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ObjectMetadataReportOptions parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ObjectMetadataReportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ObjectMetadataReportOptions parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ObjectMetadataReportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ObjectMetadataReportOptions> parser()
Returns | |
---|---|
Type | Description |
Parser<ObjectMetadataReportOptions> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ObjectMetadataReportOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions |
getDestinationOptionsCase()
public ObjectMetadataReportOptions.DestinationOptionsCase getDestinationOptionsCase()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.DestinationOptionsCase |
getFilterCase()
public ObjectMetadataReportOptions.FilterCase getFilterCase()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.FilterCase |
getMetadataFields(int index)
public String getMetadataFields(int index)
Metadata fields to be included in the report.
repeated string metadata_fields = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The metadataFields at the given index. |
getMetadataFieldsBytes(int index)
public ByteString getMetadataFieldsBytes(int index)
Metadata fields to be included in the report.
repeated string metadata_fields = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the metadataFields at the given index. |
getMetadataFieldsCount()
public int getMetadataFieldsCount()
Metadata fields to be included in the report.
repeated string metadata_fields = 1;
Returns | |
---|---|
Type | Description |
int |
The count of metadataFields. |
getMetadataFieldsList()
public ProtocolStringList getMetadataFieldsList()
Metadata fields to be included in the report.
repeated string metadata_fields = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the metadataFields. |
getParserForType()
public Parser<ObjectMetadataReportOptions> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ObjectMetadataReportOptions> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStorageDestinationOptions()
public CloudStorageDestinationOptions getStorageDestinationOptions()
Cloud Storage as the storage system.
.google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3;
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions |
The storageDestinationOptions. |
getStorageDestinationOptionsOrBuilder()
public CloudStorageDestinationOptionsOrBuilder getStorageDestinationOptionsOrBuilder()
Cloud Storage as the storage system.
.google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3;
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptionsOrBuilder |
getStorageFilters()
public CloudStorageFilters getStorageFilters()
Cloud Storage as the storage system.
.google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2;
Returns | |
---|---|
Type | Description |
CloudStorageFilters |
The storageFilters. |
getStorageFiltersOrBuilder()
public CloudStorageFiltersOrBuilder getStorageFiltersOrBuilder()
Cloud Storage as the storage system.
.google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2;
Returns | |
---|---|
Type | Description |
CloudStorageFiltersOrBuilder |
hasStorageDestinationOptions()
public boolean hasStorageDestinationOptions()
Cloud Storage as the storage system.
.google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the storageDestinationOptions field is set. |
hasStorageFilters()
public boolean hasStorageFilters()
Cloud Storage as the storage system.
.google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the storageFilters field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ObjectMetadataReportOptions.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ObjectMetadataReportOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ObjectMetadataReportOptions.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ObjectMetadataReportOptions.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |