Class LogTypeSchema.DetailsFieldSchema.Builder (0.37.0)

public static final class LogTypeSchema.DetailsFieldSchema.Builder extends GeneratedMessage.Builder<LogTypeSchema.DetailsFieldSchema.Builder> implements LogTypeSchema.DetailsFieldSchemaOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addAllEnumFieldSchemas(Iterable<? extends LogTypeSchema.EnumFieldSchema> values)

public LogTypeSchema.DetailsFieldSchema.Builder addAllEnumFieldSchemas(Iterable<? extends LogTypeSchema.EnumFieldSchema> values)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema>
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

addEnumFieldSchemas(LogTypeSchema.EnumFieldSchema value)

public LogTypeSchema.DetailsFieldSchema.Builder addEnumFieldSchemas(LogTypeSchema.EnumFieldSchema value)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
value LogTypeSchema.EnumFieldSchema
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

addEnumFieldSchemas(LogTypeSchema.EnumFieldSchema.Builder builderForValue)

public LogTypeSchema.DetailsFieldSchema.Builder addEnumFieldSchemas(LogTypeSchema.EnumFieldSchema.Builder builderForValue)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
builderForValue LogTypeSchema.EnumFieldSchema.Builder
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

addEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema value)

public LogTypeSchema.DetailsFieldSchema.Builder addEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema value)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameters
Name Description
index int
value LogTypeSchema.EnumFieldSchema
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

addEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema.Builder builderForValue)

public LogTypeSchema.DetailsFieldSchema.Builder addEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema.Builder builderForValue)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameters
Name Description
index int
builderForValue LogTypeSchema.EnumFieldSchema.Builder
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

addEnumFieldSchemasBuilder()

public LogTypeSchema.EnumFieldSchema.Builder addEnumFieldSchemasBuilder()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

addEnumFieldSchemasBuilder(int index)

public LogTypeSchema.EnumFieldSchema.Builder addEnumFieldSchemasBuilder(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

build()

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

buildPartial()

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

clear()

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

clearDescription()

public LogTypeSchema.DetailsFieldSchema.Builder clearDescription()

A human-readable description for this field.

string description = 3;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

clearDisplayName()

public LogTypeSchema.DetailsFieldSchema.Builder clearDisplayName()

A human-readable name for this field.

string display_name = 2;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

clearEnumFieldSchemas()

public LogTypeSchema.DetailsFieldSchema.Builder clearEnumFieldSchemas()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

clearExampleInput()

public LogTypeSchema.DetailsFieldSchema.Builder clearExampleInput()

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

clearFieldPath()

public LogTypeSchema.DetailsFieldSchema.Builder clearFieldPath()

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

clearReadOnly()

public LogTypeSchema.DetailsFieldSchema.Builder clearReadOnly()

For those fields which are read only.

bool read_only = 8;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

clearRequired()

public LogTypeSchema.DetailsFieldSchema.Builder clearRequired()

Whether this field must be specified to have a valid feed configuration.

bool required = 6;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

clearType()

public LogTypeSchema.DetailsFieldSchema.Builder clearType()

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

A human-readable description for this field.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description for this field.

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 field.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this field.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getEnumFieldSchemas(int index)

public LogTypeSchema.EnumFieldSchema getEnumFieldSchemas(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.EnumFieldSchema

getEnumFieldSchemasBuilder(int index)

public LogTypeSchema.EnumFieldSchema.Builder getEnumFieldSchemasBuilder(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.EnumFieldSchema.Builder

getEnumFieldSchemasBuilderList()

public List<LogTypeSchema.EnumFieldSchema.Builder> getEnumFieldSchemasBuilderList()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
List<Builder>

getEnumFieldSchemasCount()

public int getEnumFieldSchemasCount()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
int

getEnumFieldSchemasList()

public List<LogTypeSchema.EnumFieldSchema> getEnumFieldSchemasList()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
List<EnumFieldSchema>

getEnumFieldSchemasOrBuilder(int index)

public LogTypeSchema.EnumFieldSchemaOrBuilder getEnumFieldSchemasOrBuilder(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.EnumFieldSchemaOrBuilder

getEnumFieldSchemasOrBuilderList()

public List<? extends LogTypeSchema.EnumFieldSchemaOrBuilder> getEnumFieldSchemasOrBuilderList()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder>

getExampleInput()

public String getExampleInput()

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Returns
Type Description
String

The exampleInput.

getExampleInputBytes()

public ByteString getExampleInputBytes()

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Returns
Type Description
ByteString

The bytes for exampleInput.

getFieldPath()

public String getFieldPath()

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Returns
Type Description
String

The fieldPath.

getFieldPathBytes()

public ByteString getFieldPathBytes()

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Returns
Type Description
ByteString

The bytes for fieldPath.

getReadOnly()

public boolean getReadOnly()

For those fields which are read only.

bool read_only = 8;

Returns
Type Description
boolean

The readOnly.

getRequired()

public boolean getRequired()

Whether this field must be specified to have a valid feed configuration.

bool required = 6;

Returns
Type Description
boolean

The required.

getType()

public SemanticType getType()

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Returns
Type Description
SemanticType

The type.

getTypeValue()

public int getTypeValue()

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogTypeSchema.DetailsFieldSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeEnumFieldSchemas(int index)

public LogTypeSchema.DetailsFieldSchema.Builder removeEnumFieldSchemas(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

setDescription(String value)

public LogTypeSchema.DetailsFieldSchema.Builder setDescription(String value)

A human-readable description for this field.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public LogTypeSchema.DetailsFieldSchema.Builder setDescriptionBytes(ByteString value)

A human-readable description for this field.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setDisplayName(String value)

public LogTypeSchema.DetailsFieldSchema.Builder setDisplayName(String value)

A human-readable name for this field.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public LogTypeSchema.DetailsFieldSchema.Builder setDisplayNameBytes(ByteString value)

A human-readable name for this field.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema value)

public LogTypeSchema.DetailsFieldSchema.Builder setEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema value)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameters
Name Description
index int
value LogTypeSchema.EnumFieldSchema
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

setEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema.Builder builderForValue)

public LogTypeSchema.DetailsFieldSchema.Builder setEnumFieldSchemas(int index, LogTypeSchema.EnumFieldSchema.Builder builderForValue)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameters
Name Description
index int
builderForValue LogTypeSchema.EnumFieldSchema.Builder
Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

setExampleInput(String value)

public LogTypeSchema.DetailsFieldSchema.Builder setExampleInput(String value)

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Parameter
Name Description
value String

The exampleInput to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setExampleInputBytes(ByteString value)

public LogTypeSchema.DetailsFieldSchema.Builder setExampleInputBytes(ByteString value)

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Parameter
Name Description
value ByteString

The bytes for exampleInput to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setFieldPath(String value)

public LogTypeSchema.DetailsFieldSchema.Builder setFieldPath(String value)

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Parameter
Name Description
value String

The fieldPath to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setFieldPathBytes(ByteString value)

public LogTypeSchema.DetailsFieldSchema.Builder setFieldPathBytes(ByteString value)

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Parameter
Name Description
value ByteString

The bytes for fieldPath to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setReadOnly(boolean value)

public LogTypeSchema.DetailsFieldSchema.Builder setReadOnly(boolean value)

For those fields which are read only.

bool read_only = 8;

Parameter
Name Description
value boolean

The readOnly to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setRequired(boolean value)

public LogTypeSchema.DetailsFieldSchema.Builder setRequired(boolean value)

Whether this field must be specified to have a valid feed configuration.

bool required = 6;

Parameter
Name Description
value boolean

The required to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setType(SemanticType value)

public LogTypeSchema.DetailsFieldSchema.Builder setType(SemanticType value)

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Parameter
Name Description
value SemanticType

The type to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.

setTypeValue(int value)

public LogTypeSchema.DetailsFieldSchema.Builder setTypeValue(int value)

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

This builder for chaining.