Class WidgetConfig.Node (0.99.0)

public static final class WidgetConfig.Node extends GeneratedMessage implements WidgetConfig.NodeOrBuilder

Represents a single reusable computational or logical unit.

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

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ICON_URL_FIELD_NUMBER

public static final int ICON_URL_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_SCHEMA_FIELD_NUMBER

public static final int OUTPUT_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

PARAMETER_SCHEMA_FIELD_NUMBER

public static final int PARAMETER_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WidgetConfig.Node getDefaultInstance()
Returns
Type Description
WidgetConfig.Node

getDescriptor()

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

newBuilder()

public static WidgetConfig.Node.Builder newBuilder()
Returns
Type Description
WidgetConfig.Node.Builder

newBuilder(WidgetConfig.Node prototype)

public static WidgetConfig.Node.Builder newBuilder(WidgetConfig.Node prototype)
Parameter
Name Description
prototype WidgetConfig.Node
Returns
Type Description
WidgetConfig.Node.Builder

parseDelimitedFrom(InputStream input)

public static WidgetConfig.Node parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WidgetConfig.Node parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WidgetConfig.Node parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WidgetConfig.Node parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WidgetConfig.Node parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WidgetConfig.Node parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Node
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WidgetConfig.Node> parser()
Returns
Type Description
Parser<Node>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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.

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

getParserForType()

public Parser<WidgetConfig.Node> getParserForType()
Returns
Type Description
Parser<Node>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WidgetConfig.Node.Builder newBuilderForType()
Returns
Type Description
WidgetConfig.Node.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected WidgetConfig.Node.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WidgetConfig.Node.Builder
Overrides

toBuilder()

public WidgetConfig.Node.Builder toBuilder()
Returns
Type Description
WidgetConfig.Node.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException