Package com.google.cloud.asset.v1p2beta1
Interface FeedOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Feed
,Feed.Builder
public interface FeedOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAssetNames(int index)
A list of the full names of the assets to receive updates.com.google.protobuf.ByteString
getAssetNamesBytes(int index)
A list of the full names of the assets to receive updates.int
getAssetNamesCount()
A list of the full names of the assets to receive updates.List<String>
getAssetNamesList()
A list of the full names of the assets to receive updates.String
getAssetTypes(int index)
A list of types of the assets to receive updates.com.google.protobuf.ByteString
getAssetTypesBytes(int index)
A list of types of the assets to receive updates.int
getAssetTypesCount()
A list of types of the assets to receive updates.List<String>
getAssetTypesList()
A list of types of the assets to receive updates.ContentType
getContentType()
Asset content type.int
getContentTypeValue()
Asset content type.FeedOutputConfig
getFeedOutputConfig()
Required.FeedOutputConfigOrBuilder
getFeedOutputConfigOrBuilder()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.boolean
hasFeedOutputConfig()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getAssetNamesList
List<String> getAssetNamesList()
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. 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) for more info.
repeated string asset_names = 2;
- Returns:
- A list containing the assetNames.
-
getAssetNamesCount
int getAssetNamesCount()
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. 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) for more info.
repeated string asset_names = 2;
- Returns:
- The count of assetNames.
-
getAssetNames
String getAssetNames(int index)
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. 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) for more info.
repeated string asset_names = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The assetNames at the given index.
-
getAssetNamesBytes
com.google.protobuf.ByteString getAssetNamesBytes(int index)
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. 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) for more info.
repeated string asset_names = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the assetNames at the given index.
-
getAssetTypesList
List<String> getAssetTypesList()
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. For example: "compute.googleapis.com/Disk" 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;
- Returns:
- A list containing the assetTypes.
-
getAssetTypesCount
int getAssetTypesCount()
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. For example: "compute.googleapis.com/Disk" 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;
- Returns:
- The count of assetTypes.
-
getAssetTypes
String getAssetTypes(int index)
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. For example: "compute.googleapis.com/Disk" 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;
- Parameters:
index
- The index of the element to return.- Returns:
- The assetTypes at the given index.
-
getAssetTypesBytes
com.google.protobuf.ByteString getAssetTypesBytes(int index)
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names and asset_types are exported to the feed. For example: "compute.googleapis.com/Disk" 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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the assetTypes at the given index.
-
getContentTypeValue
int getContentTypeValue()
Asset content type. If not specified, no content but the asset name and type will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;
- Returns:
- The enum numeric value on the wire for contentType.
-
getContentType
ContentType getContentType()
Asset content type. If not specified, no content but the asset name and type will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;
- Returns:
- The contentType.
-
hasFeedOutputConfig
boolean hasFeedOutputConfig()
Required. Feed output configuration defining where the asset updates are published to.
.google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the feedOutputConfig field is set.
-
getFeedOutputConfig
FeedOutputConfig getFeedOutputConfig()
Required. Feed output configuration defining where the asset updates are published to.
.google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The feedOutputConfig.
-
getFeedOutputConfigOrBuilder
FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder()
Required. Feed output configuration defining where the asset updates are published to.
.google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
-
-