Class WidgetConfig.Node.Builder (0.99.0)

public static final class WidgetConfig.Node.Builder extends GeneratedMessage.Builder<WidgetConfig.Node.Builder> implements WidgetConfig.NodeOrBuilder

Represents a single reusable computational or logical unit.

Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.Node

Static Methods

getDescriptor()

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

Methods

build()

public WidgetConfig.Node build()
Returns
Type Description
WidgetConfig.Node

buildPartial()

public WidgetConfig.Node buildPartial()
Returns
Type Description
WidgetConfig.Node

clear()

public WidgetConfig.Node.Builder clear()
Returns
Type Description
WidgetConfig.Node.Builder
Overrides

clearDescription()

public WidgetConfig.Node.Builder clearDescription()

Output only. A detailed description of what the node does.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

clearDisplayName()

public WidgetConfig.Node.Builder clearDisplayName()

Output only. A human readable name for the node.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

clearIconUrl()

public WidgetConfig.Node.Builder clearIconUrl()

Output only. An identifier or URL pointing to an icon representing this node type.

string icon_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

clearOutputSchema()

public WidgetConfig.Node.Builder clearOutputSchema()

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

clearParameterSchema()

public WidgetConfig.Node.Builder clearParameterSchema()

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

clearType()

public WidgetConfig.Node.Builder clearType()

Output only. The type of the node.

.google.cloud.discoveryengine.v1.WidgetConfig.Node.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

getDefaultInstanceForType()

public WidgetConfig.Node getDefaultInstanceForType()
Returns
Type Description
WidgetConfig.Node

getDescription()

public String getDescription()

Output only. A detailed description of what the node does.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. A detailed description of what the node does.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Output only. A human readable name for the node.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. A human readable name for the node.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getIconUrl()

public String getIconUrl()

Output only. An identifier or URL pointing to an icon representing this node type.

string icon_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The iconUrl.

getIconUrlBytes()

public ByteString getIconUrlBytes()

Output only. An identifier or URL pointing to an icon representing this node type.

string icon_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for iconUrl.

getOutputSchema()

public Struct getOutputSchema()

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The outputSchema.

getOutputSchemaBuilder()

public Struct.Builder getOutputSchemaBuilder()

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getOutputSchemaOrBuilder()

public StructOrBuilder getOutputSchemaOrBuilder()

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getParameterSchema()

public Struct getParameterSchema()

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The parameterSchema.

getParameterSchemaBuilder()

public Struct.Builder getParameterSchemaBuilder()

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getParameterSchemaOrBuilder()

public StructOrBuilder getParameterSchemaOrBuilder()

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getType()

public WidgetConfig.Node.Type getType()

Output only. The type of the node.

.google.cloud.discoveryengine.v1.WidgetConfig.Node.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of the node.

.google.cloud.discoveryengine.v1.WidgetConfig.Node.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasOutputSchema()

public boolean hasOutputSchema()

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the outputSchema field is set.

hasParameterSchema()

public boolean hasParameterSchema()

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the parameterSchema field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WidgetConfig.Node other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOutputSchema(Struct value)

public WidgetConfig.Node.Builder mergeOutputSchema(Struct value)

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Struct
Returns
Type Description
WidgetConfig.Node.Builder

mergeParameterSchema(Struct value)

public WidgetConfig.Node.Builder mergeParameterSchema(Struct value)

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Struct
Returns
Type Description
WidgetConfig.Node.Builder

setDescription(String value)

public WidgetConfig.Node.Builder setDescription(String value)

Output only. A detailed description of what the node does.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public WidgetConfig.Node.Builder setDescriptionBytes(ByteString value)

Output only. A detailed description of what the node does.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setDisplayName(String value)

public WidgetConfig.Node.Builder setDisplayName(String value)

Output only. A human readable name for the node.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public WidgetConfig.Node.Builder setDisplayNameBytes(ByteString value)

Output only. A human readable name for the node.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setIconUrl(String value)

public WidgetConfig.Node.Builder setIconUrl(String value)

Output only. An identifier or URL pointing to an icon representing this node type.

string icon_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The iconUrl to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setIconUrlBytes(ByteString value)

public WidgetConfig.Node.Builder setIconUrlBytes(ByteString value)

Output only. An identifier or URL pointing to an icon representing this node type.

string icon_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for iconUrl to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setOutputSchema(Struct value)

public WidgetConfig.Node.Builder setOutputSchema(Struct value)

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Struct
Returns
Type Description
WidgetConfig.Node.Builder

setOutputSchema(Struct.Builder builderForValue)

public WidgetConfig.Node.Builder setOutputSchema(Struct.Builder builderForValue)

Output only. The output schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.

.google.protobuf.Struct output_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WidgetConfig.Node.Builder

setParameterSchema(Struct value)

public WidgetConfig.Node.Builder setParameterSchema(Struct value)

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Struct
Returns
Type Description
WidgetConfig.Node.Builder

setParameterSchema(Struct.Builder builderForValue)

public WidgetConfig.Node.Builder setParameterSchema(Struct.Builder builderForValue)

Output only. The parameter schema of the tool.

This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.

.google.protobuf.Struct parameter_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WidgetConfig.Node.Builder

setType(WidgetConfig.Node.Type value)

public WidgetConfig.Node.Builder setType(WidgetConfig.Node.Type value)

Output only. The type of the node.

.google.cloud.discoveryengine.v1.WidgetConfig.Node.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.Node.Type

The type to set.

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.

setTypeValue(int value)

public WidgetConfig.Node.Builder setTypeValue(int value)

Output only. The type of the node.

.google.cloud.discoveryengine.v1.WidgetConfig.Node.Type type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
WidgetConfig.Node.Builder

This builder for chaining.