public final class BatchGetAssetsHistoryRequest extends com.google.protobuf.GeneratedMessageV3 implements BatchGetAssetsHistoryRequestOrBuilder
Batch get assets history request.Protobuf type
google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryRequest| Modifier and Type | Class and Description |
|---|---|
static class |
BatchGetAssetsHistoryRequest.Builder
Batch get assets history 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_NAMES_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
READ_TIME_WINDOW_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAssetNames(int index)
A list of the full names of the assets.
|
com.google.protobuf.ByteString |
getAssetNamesBytes(int index)
A list of the full names of the assets.
|
int |
getAssetNamesCount()
A list of the full names of the assets.
|
com.google.protobuf.ProtocolStringList |
getAssetNamesList()
A list of the full names of the assets.
|
ContentType |
getContentType()
Required.
|
int |
getContentTypeValue()
Required.
|
static BatchGetAssetsHistoryRequest |
getDefaultInstance() |
BatchGetAssetsHistoryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<BatchGetAssetsHistoryRequest> |
getParserForType() |
TimeWindow |
getReadTimeWindow()
Optional.
|
TimeWindowOrBuilder |
getReadTimeWindowOrBuilder()
Optional.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasReadTimeWindow()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BatchGetAssetsHistoryRequest.Builder |
newBuilder() |
static BatchGetAssetsHistoryRequest.Builder |
newBuilder(BatchGetAssetsHistoryRequest prototype) |
BatchGetAssetsHistoryRequest.Builder |
newBuilderForType() |
protected BatchGetAssetsHistoryRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BatchGetAssetsHistoryRequest |
parseDelimitedFrom(InputStream input) |
static BatchGetAssetsHistoryRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchGetAssetsHistoryRequest |
parseFrom(byte[] data) |
static BatchGetAssetsHistoryRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchGetAssetsHistoryRequest |
parseFrom(ByteBuffer data) |
static BatchGetAssetsHistoryRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchGetAssetsHistoryRequest |
parseFrom(com.google.protobuf.ByteString data) |
static BatchGetAssetsHistoryRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchGetAssetsHistoryRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchGetAssetsHistoryRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchGetAssetsHistoryRequest |
parseFrom(InputStream input) |
static BatchGetAssetsHistoryRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BatchGetAssetsHistoryRequest> |
parser() |
BatchGetAssetsHistoryRequest.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 ASSET_NAMES_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static final int READ_TIME_WINDOW_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. It 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 BatchGetAssetsHistoryRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. It 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 BatchGetAssetsHistoryRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getAssetNamesList()
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNamesList in interface BatchGetAssetsHistoryRequestOrBuilderpublic int getAssetNamesCount()
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNamesCount in interface BatchGetAssetsHistoryRequestOrBuilderpublic String getAssetNames(int index)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNames in interface BatchGetAssetsHistoryRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAssetNamesBytes(int index)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNamesBytes in interface BatchGetAssetsHistoryRequestOrBuilderindex - The index of the value to return.public int getContentTypeValue()
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;getContentTypeValue in interface BatchGetAssetsHistoryRequestOrBuilderpublic ContentType getContentType()
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;getContentType in interface BatchGetAssetsHistoryRequestOrBuilderpublic boolean hasReadTimeWindow()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;hasReadTimeWindow in interface BatchGetAssetsHistoryRequestOrBuilderpublic TimeWindow getReadTimeWindow()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;getReadTimeWindow in interface BatchGetAssetsHistoryRequestOrBuilderpublic TimeWindowOrBuilder getReadTimeWindowOrBuilder()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;getReadTimeWindowOrBuilder in interface BatchGetAssetsHistoryRequestOrBuilderpublic 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 BatchGetAssetsHistoryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchGetAssetsHistoryRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchGetAssetsHistoryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchGetAssetsHistoryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchGetAssetsHistoryRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchGetAssetsHistoryRequest.Builder newBuilder()
public static BatchGetAssetsHistoryRequest.Builder newBuilder(BatchGetAssetsHistoryRequest prototype)
public BatchGetAssetsHistoryRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchGetAssetsHistoryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BatchGetAssetsHistoryRequest getDefaultInstance()
public static com.google.protobuf.Parser<BatchGetAssetsHistoryRequest> parser()
public com.google.protobuf.Parser<BatchGetAssetsHistoryRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BatchGetAssetsHistoryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.