Class UpdateFeedRequest.Builder (3.36.0)

public static final class UpdateFeedRequest.Builder extends GeneratedMessageV3.Builder<UpdateFeedRequest.Builder> implements UpdateFeedRequestOrBuilder

Update asset feed request.

Protobuf type google.cloud.asset.v1.UpdateFeedRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

build()

public UpdateFeedRequest build()
Returns
Type Description
UpdateFeedRequest

buildPartial()

public UpdateFeedRequest buildPartial()
Returns
Type Description
UpdateFeedRequest

clear()

public UpdateFeedRequest.Builder clear()
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

clearFeed()

public UpdateFeedRequest.Builder clearFeed()

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFeedRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

clearUpdateMask()

public UpdateFeedRequest.Builder clearUpdateMask()

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFeedRequest.Builder

clone()

public UpdateFeedRequest.Builder clone()
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateFeedRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFeedRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeed()

public Feed getFeed()

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Feed

The feed.

getFeedBuilder()

public Feed.Builder getFeedBuilder()

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Feed.Builder

getFeedOrBuilder()

public FeedOrBuilder getFeedOrBuilder()

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeedOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasFeed()

public boolean hasFeed()

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the feed field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeed(Feed value)

public UpdateFeedRequest.Builder mergeFeed(Feed value)

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Feed
Returns
Type Description
UpdateFeedRequest.Builder

mergeFrom(UpdateFeedRequest other)

public UpdateFeedRequest.Builder mergeFrom(UpdateFeedRequest other)
Parameter
Name Description
other UpdateFeedRequest
Returns
Type Description
UpdateFeedRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFeedRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateFeedRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateFeedRequest.Builder mergeUpdateMask(FieldMask value)

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFeedRequest.Builder

setFeed(Feed value)

public UpdateFeedRequest.Builder setFeed(Feed value)

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Feed
Returns
Type Description
UpdateFeedRequest.Builder

setFeed(Feed.Builder builderForValue)

public UpdateFeedRequest.Builder setFeed(Feed.Builder builderForValue)

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Feed.Builder
Returns
Type Description
UpdateFeedRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateFeedRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateFeedRequest.Builder setUpdateMask(FieldMask value)

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFeedRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFeedRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFeedRequest.Builder