public static final class CreateFeedRequest.Builder extends GeneratedMessageV3.Builder<CreateFeedRequest.Builder> implements CreateFeedRequestOrBuilder
Create asset feed request.
Protobuf type google.cloud.asset.v1.CreateFeedRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateFeedRequest build()
buildPartial()
public CreateFeedRequest buildPartial()
clear()
public CreateFeedRequest.Builder clear()
Overrides
clearFeed()
public CreateFeedRequest.Builder clearFeed()
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];
clearFeedId()
public CreateFeedRequest.Builder clearFeedId()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateFeedRequest.Builder clearParent()
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];
clone()
public CreateFeedRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateFeedRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getFeedBuilder()
public Feed.Builder getFeedBuilder()
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];
getFeedId()
public 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 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 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];
getParent()
public 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 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()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFeed(Feed value)
public CreateFeedRequest.Builder mergeFeed(Feed value)
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];
Parameter |
Name |
Description |
value |
Feed
|
mergeFrom(CreateFeedRequest other)
public CreateFeedRequest.Builder mergeFrom(CreateFeedRequest other)
public CreateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateFeedRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setFeed(Feed value)
public CreateFeedRequest.Builder setFeed(Feed value)
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];
Parameter |
Name |
Description |
value |
Feed
|
setFeed(Feed.Builder builderForValue)
public CreateFeedRequest.Builder setFeed(Feed.Builder builderForValue)
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];
setFeedId(String value)
public CreateFeedRequest.Builder setFeedId(String value)
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];
Parameter |
Name |
Description |
value |
String
The feedId to set.
|
setFeedIdBytes(ByteString value)
public CreateFeedRequest.Builder setFeedIdBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for feedId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateFeedRequest.Builder setParent(String value)
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];
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateFeedRequest.Builder setParentBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides