public final class ExportAssetsRequest extends com.google.protobuf.GeneratedMessageV3 implements ExportAssetsRequestOrBuilder
Export asset request.Protobuf type
google.cloud.asset.v1p2beta1.ExportAssetsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ExportAssetsRequest.Builder
Export asset request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASSET_TYPES_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
OUTPUT_CONFIG_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAssetTypes(int index)
A list of asset types of which to take a snapshot for.
|
com.google.protobuf.ByteString |
getAssetTypesBytes(int index)
A list of asset types of which to take a snapshot for.
|
int |
getAssetTypesCount()
A list of asset types of which to take a snapshot for.
|
com.google.protobuf.ProtocolStringList |
getAssetTypesList()
A list of asset types of which to take a snapshot for.
|
ContentType |
getContentType()
Asset content type.
|
int |
getContentTypeValue()
Asset content type.
|
static ExportAssetsRequest |
getDefaultInstance() |
ExportAssetsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
OutputConfig |
getOutputConfig()
Required.
|
OutputConfigOrBuilder |
getOutputConfigOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<ExportAssetsRequest> |
getParserForType() |
com.google.protobuf.Timestamp |
getReadTime()
Timestamp to take an asset snapshot.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Timestamp to take an asset snapshot.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasOutputConfig()
Required.
|
boolean |
hasReadTime()
Timestamp to take an asset snapshot.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExportAssetsRequest.Builder |
newBuilder() |
static ExportAssetsRequest.Builder |
newBuilder(ExportAssetsRequest prototype) |
ExportAssetsRequest.Builder |
newBuilderForType() |
protected ExportAssetsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExportAssetsRequest |
parseDelimitedFrom(InputStream input) |
static ExportAssetsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportAssetsRequest |
parseFrom(byte[] data) |
static ExportAssetsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportAssetsRequest |
parseFrom(ByteBuffer data) |
static ExportAssetsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportAssetsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ExportAssetsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportAssetsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExportAssetsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportAssetsRequest |
parseFrom(InputStream input) |
static ExportAssetsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExportAssetsRequest> |
parser() |
ExportAssetsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
public static final int ASSET_TYPES_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParent()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
string parent = 1;getParent in interface ExportAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
string parent = 1;getParentBytes in interface ExportAssetsRequestOrBuilderpublic boolean hasReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;hasReadTime in interface ExportAssetsRequestOrBuilderpublic com.google.protobuf.Timestamp getReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;getReadTime in interface ExportAssetsRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;getReadTimeOrBuilder in interface ExportAssetsRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getAssetTypesList()
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypesList in interface ExportAssetsRequestOrBuilderpublic int getAssetTypesCount()
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypesCount in interface ExportAssetsRequestOrBuilderpublic String getAssetTypes(int index)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypes in interface ExportAssetsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAssetTypesBytes(int index)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypesBytes in interface ExportAssetsRequestOrBuilderindex - The index of the value to return.public int getContentTypeValue()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;getContentTypeValue in interface ExportAssetsRequestOrBuilderpublic ContentType getContentType()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;getContentType in interface ExportAssetsRequestOrBuilderpublic boolean hasOutputConfig()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;hasOutputConfig in interface ExportAssetsRequestOrBuilderpublic OutputConfig getOutputConfig()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;getOutputConfig in interface ExportAssetsRequestOrBuilderpublic OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;getOutputConfigOrBuilder in interface ExportAssetsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExportAssetsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportAssetsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportAssetsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportAssetsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportAssetsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportAssetsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExportAssetsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExportAssetsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExportAssetsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExportAssetsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExportAssetsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExportAssetsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExportAssetsRequest.Builder newBuilder()
public static ExportAssetsRequest.Builder newBuilder(ExportAssetsRequest prototype)
public ExportAssetsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExportAssetsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExportAssetsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ExportAssetsRequest> parser()
public com.google.protobuf.Parser<ExportAssetsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExportAssetsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.