public static final class UpdateFeedRequest.Builder extends GeneratedMessageV3.Builder<UpdateFeedRequest.Builder> implements UpdateFeedRequestOrBuilder
Update asset feed request.
Protobuf type google.cloud.asset.v1.UpdateFeedRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 UpdateFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateFeedRequest build()
buildPartial()
public UpdateFeedRequest buildPartial()
clear()
public UpdateFeedRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateFeedRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateFeedRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(UpdateFeedRequest other)
public UpdateFeedRequest.Builder mergeFrom(UpdateFeedRequest other)
public UpdateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateFeedRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|