Class UpdateFeedRequest.Builder (0.37.0)

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

Request message for UpdateFeed.

Protobuf type google.cloud.chronicle.v1.UpdateFeedRequest

Static Methods

getDescriptor()

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

Methods

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. Feed to update. Updates full feed object.

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

Returns
Type Description
UpdateFeedRequest.Builder

clearUpdateMask()

public UpdateFeedRequest.Builder clearUpdateMask()

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Returns
Type Description
UpdateFeedRequest.Builder

getDefaultInstanceForType()

public UpdateFeedRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFeedRequest

getDescriptorForType()

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

getFeed()

public Feed getFeed()

Required. Feed to update. Updates full feed object.

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

Returns
Type Description
Feed

The feed.

getFeedBuilder()

public Feed.Builder getFeedBuilder()

Required. Feed to update. Updates full feed object.

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

Returns
Type Description
Feed.Builder

getFeedOrBuilder()

public FeedOrBuilder getFeedOrBuilder()

Required. Feed to update. Updates full feed object.

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

Returns
Type Description
FeedOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Returns
Type Description
FieldMaskOrBuilder

hasFeed()

public boolean hasFeed()

Required. Feed to update. Updates full feed object.

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

Returns
Type Description
boolean

Whether the feed field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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. Feed to update. Updates full feed object.

.google.cloud.chronicle.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

mergeUpdateMask(FieldMask value)

public UpdateFeedRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFeedRequest.Builder

setFeed(Feed value)

public UpdateFeedRequest.Builder setFeed(Feed value)

Required. Feed to update. Updates full feed object.

.google.cloud.chronicle.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. Feed to update. Updates full feed object.

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

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

setUpdateMask(FieldMask value)

public UpdateFeedRequest.Builder setUpdateMask(FieldMask value)

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFeedRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFeedRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Specifies which fields to update. If empty, update the full feed. To update the display name, pass only displayName and no other fields. To update other fields, pass a comma-separated list of fields to update and omit displayName. The update fails if an existing displayName is sent in the update request.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFeedRequest.Builder