Package com.google.cloud.asset.v1
Interface CreateFeedRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateFeedRequest
,CreateFeedRequest.Builder
public interface CreateFeedRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Feed
getFeed()
Required.String
getFeedId()
Required.com.google.protobuf.ByteString
getFeedIdBytes()
Required.FeedOrBuilder
getFeedOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasFeed()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for parent.
-
getFeedId
String getFeedId()
Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.
string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The feedId.
-
getFeedIdBytes
com.google.protobuf.ByteString getFeedIdBytes()
Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.
string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for feedId.
-
hasFeed
boolean hasFeed()
Required. The feed details. The field `name` must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id
.google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the feed field is set.
-
getFeed
Feed getFeed()
Required. The feed details. The field `name` must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id
.google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The feed.
-
getFeedOrBuilder
FeedOrBuilder getFeedOrBuilder()
Required. The feed details. The field `name` must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id
.google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
-
-