Class DeleteFeedRequest.Builder (0.37.0)

public static final class DeleteFeedRequest.Builder extends GeneratedMessage.Builder<DeleteFeedRequest.Builder> implements DeleteFeedRequestOrBuilder

Request message to delete a feed.

Protobuf type google.cloud.chronicle.v1.DeleteFeedRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteFeedRequest build()
Returns
Type Description
DeleteFeedRequest

buildPartial()

public DeleteFeedRequest buildPartial()
Returns
Type Description
DeleteFeedRequest

clear()

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

clearDeleteBacklog()

public DeleteFeedRequest.Builder clearDeleteBacklog()

Optional. If true, delete the uningested backlog in OOB retry queue for the feed.

bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteFeedRequest.Builder

This builder for chaining.

clearName()

public DeleteFeedRequest.Builder clearName()

Required. The ID of the feed to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteFeedRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteFeedRequest getDefaultInstanceForType()
Returns
Type Description
DeleteFeedRequest

getDeleteBacklog()

public boolean getDeleteBacklog()

Optional. If true, delete the uningested backlog in OOB retry queue for the feed.

bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The deleteBacklog.

getDescriptorForType()

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

getName()

public String getName()

Required. The ID of the feed to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The ID of the feed to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteFeedRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDeleteBacklog(boolean value)

public DeleteFeedRequest.Builder setDeleteBacklog(boolean value)

Optional. If true, delete the uningested backlog in OOB retry queue for the feed.

bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The deleteBacklog to set.

Returns
Type Description
DeleteFeedRequest.Builder

This builder for chaining.

setName(String value)

public DeleteFeedRequest.Builder setName(String value)

Required. The ID of the feed to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteFeedRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteFeedRequest.Builder setNameBytes(ByteString value)

Required. The ID of the feed to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteFeedRequest.Builder

This builder for chaining.