Class ReferenceListEntry.Builder (0.21.0)

public static final class ReferenceListEntry.Builder extends GeneratedMessage.Builder<ReferenceListEntry.Builder> implements ReferenceListEntryOrBuilder

An entry in a reference list.

Protobuf type google.cloud.chronicle.v1.ReferenceListEntry

Static Methods

getDescriptor()

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

Methods

build()

public ReferenceListEntry build()
Returns
Type Description
ReferenceListEntry

buildPartial()

public ReferenceListEntry buildPartial()
Returns
Type Description
ReferenceListEntry

clear()

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

clearValue()

public ReferenceListEntry.Builder clearValue()

Required. The value of the entry. Maximum length is 512 characters.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReferenceListEntry.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReferenceListEntry getDefaultInstanceForType()
Returns
Type Description
ReferenceListEntry

getDescriptorForType()

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

getValue()

public String getValue()

Required. The value of the entry. Maximum length is 512 characters.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. The value of the entry. Maximum length is 512 characters.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReferenceListEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValue(String value)

public ReferenceListEntry.Builder setValue(String value)

Required. The value of the entry. Maximum length is 512 characters.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
ReferenceListEntry.Builder

This builder for chaining.

setValueBytes(ByteString value)

public ReferenceListEntry.Builder setValueBytes(ByteString value)

Required. The value of the entry. Maximum length is 512 characters.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
ReferenceListEntry.Builder

This builder for chaining.