public static final class CreateFeedRequest.Builder extends GeneratedMessageV3.Builder<CreateFeedRequest.Builder> implements CreateFeedRequestOrBuilder
Create asset feed request.Protobuf type
google.cloud.asset.v1p2beta1.CreateFeedRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateFeedRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateFeedRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateFeedRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder mergeFrom(CreateFeedRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public CreateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateFeedRequest.Builder>
IOException
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];
getParent
in interface CreateFeedRequestOrBuilder
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];
getParentBytes
in interface CreateFeedRequestOrBuilder
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];
value
- The parent to set.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];
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];
value
- The bytes for parent to set.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];
getFeedId
in interface CreateFeedRequestOrBuilder
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];
getFeedIdBytes
in interface CreateFeedRequestOrBuilder
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];
value
- The feedId to set.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];
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];
value
- The bytes for feedId to set.public 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];
hasFeed
in interface CreateFeedRequestOrBuilder
public 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];
getFeed
in interface CreateFeedRequestOrBuilder
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
getFeedOrBuilder
in interface CreateFeedRequestOrBuilder
public final CreateFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
public final CreateFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateFeedRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.