Class LogTypeSchema.Builder (0.37.0)

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

Metadata that pertains to a log type in the context of Feeds, and is useful for building interfaces to construct valid Feed messages.

Protobuf type google.cloud.chronicle.v1.LogTypeSchema

Static Methods

getDescriptor()

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

Methods

addAllDetailsFieldSchemaAlternatives(Iterable<? extends LogTypeSchema.DetailsFieldSchemaAlternative> values)

public LogTypeSchema.Builder addAllDetailsFieldSchemaAlternatives(Iterable<? extends LogTypeSchema.DetailsFieldSchemaAlternative> values)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

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

addAllDetailsFieldSchemas(Iterable<? extends LogTypeSchema.DetailsFieldSchema> values)

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

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

addDetailsFieldSchemaAlternatives(LogTypeSchema.DetailsFieldSchemaAlternative value)

public LogTypeSchema.Builder addDetailsFieldSchemaAlternatives(LogTypeSchema.DetailsFieldSchemaAlternative value)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
value LogTypeSchema.DetailsFieldSchemaAlternative
Returns
Type Description
LogTypeSchema.Builder

addDetailsFieldSchemaAlternatives(LogTypeSchema.DetailsFieldSchemaAlternative.Builder builderForValue)

public LogTypeSchema.Builder addDetailsFieldSchemaAlternatives(LogTypeSchema.DetailsFieldSchemaAlternative.Builder builderForValue)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
builderForValue LogTypeSchema.DetailsFieldSchemaAlternative.Builder
Returns
Type Description
LogTypeSchema.Builder

addDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative value)

public LogTypeSchema.Builder addDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative value)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameters
Name Description
index int
value LogTypeSchema.DetailsFieldSchemaAlternative
Returns
Type Description
LogTypeSchema.Builder

addDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative.Builder builderForValue)

public LogTypeSchema.Builder addDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative.Builder builderForValue)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameters
Name Description
index int
builderForValue LogTypeSchema.DetailsFieldSchemaAlternative.Builder
Returns
Type Description
LogTypeSchema.Builder

addDetailsFieldSchemaAlternativesBuilder()

public LogTypeSchema.DetailsFieldSchemaAlternative.Builder addDetailsFieldSchemaAlternativesBuilder()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative.Builder

addDetailsFieldSchemaAlternativesBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaAlternative.Builder addDetailsFieldSchemaAlternativesBuilder(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

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

addDetailsFieldSchemas(LogTypeSchema.DetailsFieldSchema value)

public LogTypeSchema.Builder addDetailsFieldSchemas(LogTypeSchema.DetailsFieldSchema value)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

addDetailsFieldSchemas(LogTypeSchema.DetailsFieldSchema.Builder builderForValue)

public LogTypeSchema.Builder addDetailsFieldSchemas(LogTypeSchema.DetailsFieldSchema.Builder builderForValue)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

addDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema value)

public LogTypeSchema.Builder addDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema value)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

addDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema.Builder builderForValue)

public LogTypeSchema.Builder addDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema.Builder builderForValue)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

addDetailsFieldSchemasBuilder()

public LogTypeSchema.DetailsFieldSchema.Builder addDetailsFieldSchemasBuilder()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
LogTypeSchema.DetailsFieldSchema.Builder

addDetailsFieldSchemasBuilder(int index)

public LogTypeSchema.DetailsFieldSchema.Builder addDetailsFieldSchemasBuilder(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

build()

public LogTypeSchema build()
Returns
Type Description
LogTypeSchema

buildPartial()

public LogTypeSchema buildPartial()
Returns
Type Description
LogTypeSchema

clear()

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

clearDetailsFieldSchemaAlternatives()

public LogTypeSchema.Builder clearDetailsFieldSchemaAlternatives()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
LogTypeSchema.Builder

clearDetailsFieldSchemas()

public LogTypeSchema.Builder clearDetailsFieldSchemas()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
LogTypeSchema.Builder

clearDisplayName()

public LogTypeSchema.Builder clearDisplayName()

A human-readable name for this log type.

string display_name = 2;

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

clearLogType()

public LogTypeSchema.Builder clearLogType()

The log type to be used in the details.log_type field.

string log_type = 3;

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

clearName()

public LogTypeSchema.Builder clearName()

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

clearReadOnly()

public LogTypeSchema.Builder clearReadOnly()

Whether this log type schema represents a feed configuration that may exist, but should not be modified (created, edited, or deleted).

bool read_only = 4;

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

clearSupportingDocumentation()

public LogTypeSchema.Builder clearSupportingDocumentation()

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

getDefaultInstanceForType()

public LogTypeSchema getDefaultInstanceForType()
Returns
Type Description
LogTypeSchema

getDescriptorForType()

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

getDetailsFieldSchemaAlternatives(int index)

public LogTypeSchema.DetailsFieldSchemaAlternative getDetailsFieldSchemaAlternatives(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative

getDetailsFieldSchemaAlternativesBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaAlternative.Builder getDetailsFieldSchemaAlternativesBuilder(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

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

getDetailsFieldSchemaAlternativesBuilderList()

public List<LogTypeSchema.DetailsFieldSchemaAlternative.Builder> getDetailsFieldSchemaAlternativesBuilderList()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
List<Builder>

getDetailsFieldSchemaAlternativesCount()

public int getDetailsFieldSchemaAlternativesCount()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
int

getDetailsFieldSchemaAlternativesList()

public List<LogTypeSchema.DetailsFieldSchemaAlternative> getDetailsFieldSchemaAlternativesList()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
List<DetailsFieldSchemaAlternative>

getDetailsFieldSchemaAlternativesOrBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder getDetailsFieldSchemaAlternativesOrBuilder(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder

getDetailsFieldSchemaAlternativesOrBuilderList()

public List<? extends LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> getDetailsFieldSchemaAlternativesOrBuilderList()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

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

getDetailsFieldSchemas(int index)

public LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchema

getDetailsFieldSchemasBuilder(int index)

public LogTypeSchema.DetailsFieldSchema.Builder getDetailsFieldSchemasBuilder(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

getDetailsFieldSchemasBuilderList()

public List<LogTypeSchema.DetailsFieldSchema.Builder> getDetailsFieldSchemasBuilderList()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
List<Builder>

getDetailsFieldSchemasCount()

public int getDetailsFieldSchemasCount()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
int

getDetailsFieldSchemasList()

public List<LogTypeSchema.DetailsFieldSchema> getDetailsFieldSchemasList()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
List<DetailsFieldSchema>

getDetailsFieldSchemasOrBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaOrBuilder getDetailsFieldSchemasOrBuilder(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaOrBuilder

getDetailsFieldSchemasOrBuilderList()

public List<? extends LogTypeSchema.DetailsFieldSchemaOrBuilder> getDetailsFieldSchemasOrBuilderList()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

getDisplayName()

public String getDisplayName()

A human-readable name for this log type.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this log type.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getLogType()

public String getLogType()

The log type to be used in the details.log_type field.

string log_type = 3;

Returns
Type Description
String

The logType.

getLogTypeBytes()

public ByteString getLogTypeBytes()

The log type to be used in the details.log_type field.

string log_type = 3;

Returns
Type Description
ByteString

The bytes for logType.

getName()

public String getName()

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getReadOnly()

public boolean getReadOnly()

Whether this log type schema represents a feed configuration that may exist, but should not be modified (created, edited, or deleted).

bool read_only = 4;

Returns
Type Description
boolean

The readOnly.

getSupportingDocumentation()

public String getSupportingDocumentation()

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Returns
Type Description
String

The supportingDocumentation.

getSupportingDocumentationBytes()

public ByteString getSupportingDocumentationBytes()

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Returns
Type Description
ByteString

The bytes for supportingDocumentation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogTypeSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDetailsFieldSchemaAlternatives(int index)

public LogTypeSchema.Builder removeDetailsFieldSchemaAlternatives(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.Builder

removeDetailsFieldSchemas(int index)

public LogTypeSchema.Builder removeDetailsFieldSchemas(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.Builder

setDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative value)

public LogTypeSchema.Builder setDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative value)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameters
Name Description
index int
value LogTypeSchema.DetailsFieldSchemaAlternative
Returns
Type Description
LogTypeSchema.Builder

setDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative.Builder builderForValue)

public LogTypeSchema.Builder setDetailsFieldSchemaAlternatives(int index, LogTypeSchema.DetailsFieldSchemaAlternative.Builder builderForValue)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameters
Name Description
index int
builderForValue LogTypeSchema.DetailsFieldSchemaAlternative.Builder
Returns
Type Description
LogTypeSchema.Builder

setDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema value)

public LogTypeSchema.Builder setDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema value)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

setDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema.Builder builderForValue)

public LogTypeSchema.Builder setDetailsFieldSchemas(int index, LogTypeSchema.DetailsFieldSchema.Builder builderForValue)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

setDisplayName(String value)

public LogTypeSchema.Builder setDisplayName(String value)

A human-readable name for this log type.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public LogTypeSchema.Builder setDisplayNameBytes(ByteString value)

A human-readable name for this log type.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setLogType(String value)

public LogTypeSchema.Builder setLogType(String value)

The log type to be used in the details.log_type field.

string log_type = 3;

Parameter
Name Description
value String

The logType to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setLogTypeBytes(ByteString value)

public LogTypeSchema.Builder setLogTypeBytes(ByteString value)

The log type to be used in the details.log_type field.

string log_type = 3;

Parameter
Name Description
value ByteString

The bytes for logType to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setName(String value)

public LogTypeSchema.Builder setName(String value)

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LogTypeSchema.Builder setNameBytes(ByteString value)

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setReadOnly(boolean value)

public LogTypeSchema.Builder setReadOnly(boolean value)

Whether this log type schema represents a feed configuration that may exist, but should not be modified (created, edited, or deleted).

bool read_only = 4;

Parameter
Name Description
value boolean

The readOnly to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setSupportingDocumentation(String value)

public LogTypeSchema.Builder setSupportingDocumentation(String value)

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Parameter
Name Description
value String

The supportingDocumentation to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.

setSupportingDocumentationBytes(ByteString value)

public LogTypeSchema.Builder setSupportingDocumentationBytes(ByteString value)

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Parameter
Name Description
value ByteString

The bytes for supportingDocumentation to set.

Returns
Type Description
LogTypeSchema.Builder

This builder for chaining.