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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateFeedRequest build()
Returns
buildPartial()
public UpdateFeedRequest buildPartial()
Returns
clear()
public UpdateFeedRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateFeedRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateFeedRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
mergeFrom(UpdateFeedRequest other)
public UpdateFeedRequest.Builder mergeFrom(UpdateFeedRequest other)
Parameter
Returns
public UpdateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateFeedRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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