Class GetFeedPackRequest.Builder (0.37.0)

public static final class GetFeedPackRequest.Builder extends GeneratedMessage.Builder<GetFeedPackRequest.Builder> implements GetFeedPackRequestOrBuilder

Request message for GetFeedPack.

Protobuf type google.cloud.chronicle.v1.GetFeedPackRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetFeedPackRequest build()
Returns
Type Description
GetFeedPackRequest

buildPartial()

public GetFeedPackRequest buildPartial()
Returns
Type Description
GetFeedPackRequest

clear()

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

clearName()

public GetFeedPackRequest.Builder clearName()

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

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

Returns
Type Description
GetFeedPackRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetFeedPackRequest getDefaultInstanceForType()
Returns
Type Description
GetFeedPackRequest

getDescriptorForType()

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

getName()

public String getName()

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

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 pack to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}

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(GetFeedPackRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetFeedPackRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetFeedPackRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetFeedPackRequest.Builder setNameBytes(ByteString value)

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

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
GetFeedPackRequest.Builder

This builder for chaining.