Interface CreateFeedRequestOrBuilder (3.9.0)

public interface CreateFeedRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFeed()

public abstract 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
Type Description
Feed

The feed.

getFeedId()

public abstract 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
Type Description
String

The feedId.

getFeedIdBytes()

public abstract 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
Type Description
ByteString

The bytes for feedId.

getFeedOrBuilder()

public abstract 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];

Returns
Type Description
FeedOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

hasFeed()

public abstract 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
Type Description
boolean

Whether the feed field is set.