com.google.cloud.asset.v1p2beta1.CreateFeedRequestOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/asset/v1p2beta1/asset_service.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.asset.v1p2beta1;
public interface CreateFeedRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.CreateFeedRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return The parent.
*/
java.lang.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];
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
/**
*
*
*
* 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];
*
* @return The feedId.
*/
java.lang.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];
*
* @return The bytes for feedId.
*/
com.google.protobuf.ByteString getFeedIdBytes();
/**
*
*
*
* 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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the feed field is set.
*/
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The feed.
*/
com.google.cloud.asset.v1p2beta1.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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder();
}