Class LogTypeSchema.EnumFieldSchema.Builder (0.37.0)

public static final class LogTypeSchema.EnumFieldSchema.Builder extends GeneratedMessage.Builder<LogTypeSchema.EnumFieldSchema.Builder> implements LogTypeSchema.EnumFieldSchemaOrBuilder

A schema for a particular value, for a particular enum details field on the Feed proto message.

Protobuf type google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema

Static Methods

getDescriptor()

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

Methods

build()

public LogTypeSchema.EnumFieldSchema build()
Returns
Type Description
LogTypeSchema.EnumFieldSchema

buildPartial()

public LogTypeSchema.EnumFieldSchema buildPartial()
Returns
Type Description
LogTypeSchema.EnumFieldSchema

clear()

public LogTypeSchema.EnumFieldSchema.Builder clear()
Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder
Overrides

clearDescription()

public LogTypeSchema.EnumFieldSchema.Builder clearDescription()

A human-readable description for this value.

string description = 3;

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

clearDisplayName()

public LogTypeSchema.EnumFieldSchema.Builder clearDisplayName()

A human-readable name for this value.

string display_name = 2;

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

clearValue()

public LogTypeSchema.EnumFieldSchema.Builder clearValue()

The value to assign to the field.

string value = 1;

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

getDefaultInstanceForType()

public LogTypeSchema.EnumFieldSchema getDefaultInstanceForType()
Returns
Type Description
LogTypeSchema.EnumFieldSchema

getDescription()

public String getDescription()

A human-readable description for this value.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description for this value.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

A human-readable name for this value.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this value.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getValue()

public String getValue()

The value to assign to the field.

string value = 1;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The value to assign to the field.

string value = 1;

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(LogTypeSchema.EnumFieldSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDescription(String value)

public LogTypeSchema.EnumFieldSchema.Builder setDescription(String value)

A human-readable description for this value.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public LogTypeSchema.EnumFieldSchema.Builder setDescriptionBytes(ByteString value)

A human-readable description for this value.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

setDisplayName(String value)

public LogTypeSchema.EnumFieldSchema.Builder setDisplayName(String value)

A human-readable name for this value.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public LogTypeSchema.EnumFieldSchema.Builder setDisplayNameBytes(ByteString value)

A human-readable name for this value.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

setValue(String value)

public LogTypeSchema.EnumFieldSchema.Builder setValue(String value)

The value to assign to the field.

string value = 1;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.

setValueBytes(ByteString value)

public LogTypeSchema.EnumFieldSchema.Builder setValueBytes(ByteString value)

The value to assign to the field.

string value = 1;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

This builder for chaining.