Class UpdateFeedRequest.Builder

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

Update asset feed request.

Protobuf type google.cloud.asset.v1p2beta1.UpdateFeedRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides

build()

public UpdateFeedRequest build()
Returns
TypeDescription
UpdateFeedRequest

buildPartial()

public UpdateFeedRequest buildPartial()
Returns
TypeDescription
UpdateFeedRequest

clear()

public UpdateFeedRequest.Builder clear()
Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateFeedRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateFeedRequest.Builder

clone()

public UpdateFeedRequest.Builder clone()
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateFeedRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateFeedRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFeed
Returns
TypeDescription
UpdateFeedRequest.Builder

mergeFrom(UpdateFeedRequest other)

public UpdateFeedRequest.Builder mergeFrom(UpdateFeedRequest other)
Parameter
NameDescription
otherUpdateFeedRequest
Returns
TypeDescription
UpdateFeedRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateFeedRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFeed
Returns
TypeDescription
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.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueFeed.Builder
Returns
TypeDescription
UpdateFeedRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides

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

public UpdateFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateFeedRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateFeedRequest.Builder