Class DataConnector.ConnectorMetadata.Builder (0.99.0)

public static final class DataConnector.ConnectorMetadata.Builder extends GeneratedMessage.Builder<DataConnector.ConnectorMetadata.Builder> implements DataConnector.ConnectorMetadataOrBuilder

User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).

Protobuf type google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata

Static Methods

getDescriptor()

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

Methods

build()

public DataConnector.ConnectorMetadata build()
Returns
Type Description
DataConnector.ConnectorMetadata

buildPartial()

public DataConnector.ConnectorMetadata buildPartial()
Returns
Type Description
DataConnector.ConnectorMetadata

clear()

public DataConnector.ConnectorMetadata.Builder clear()
Returns
Type Description
DataConnector.ConnectorMetadata.Builder
Overrides

clearAuthor()

public DataConnector.ConnectorMetadata.Builder clearAuthor()

Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector.

string author = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

clearDescription()

public DataConnector.ConnectorMetadata.Builder clearDescription()

Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

clearNote()

public DataConnector.ConnectorMetadata.Builder clearNote()

Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector.

string note = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

clearShortDescription()

public DataConnector.ConnectorMetadata.Builder clearShortDescription()

Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).

string short_description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

clearTitle()

public DataConnector.ConnectorMetadata.Builder clearTitle()

Optional. Display title of the connector.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

getAuthor()

public String getAuthor()

Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector.

string author = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The author.

getAuthorBytes()

public ByteString getAuthorBytes()

Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector.

string author = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for author.

getDefaultInstanceForType()

public DataConnector.ConnectorMetadata getDefaultInstanceForType()
Returns
Type Description
DataConnector.ConnectorMetadata

getDescription()

public String getDescription()

Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getNote()

public String getNote()

Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector.

string note = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The note.

getNoteBytes()

public ByteString getNoteBytes()

Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector.

string note = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for note.

getShortDescription()

public String getShortDescription()

Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).

string short_description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The shortDescription.

getShortDescriptionBytes()

public ByteString getShortDescriptionBytes()

Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).

string short_description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for shortDescription.

getTitle()

public String getTitle()

Optional. Display title of the connector.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Optional. Display title of the connector.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for title.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataConnector.ConnectorMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthor(String value)

public DataConnector.ConnectorMetadata.Builder setAuthor(String value)

Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector.

string author = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The author to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setAuthorBytes(ByteString value)

public DataConnector.ConnectorMetadata.Builder setAuthorBytes(ByteString value)

Optional. The party that authored the connector, e.g. "Google" or a third-party provider name. Lets end users see who authored a connector.

string author = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for author to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setDescription(String value)

public DataConnector.ConnectorMetadata.Builder setDescription(String value)

Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public DataConnector.ConnectorMetadata.Builder setDescriptionBytes(ByteString value)

Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setNote(String value)

public DataConnector.ConnectorMetadata.Builder setNote(String value)

Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector.

string note = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The note to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setNoteBytes(ByteString value)

public DataConnector.ConnectorMetadata.Builder setNoteBytes(ByteString value)

Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector.

string note = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for note to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setShortDescription(String value)

public DataConnector.ConnectorMetadata.Builder setShortDescription(String value)

Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).

string short_description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The shortDescription to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setShortDescriptionBytes(ByteString value)

public DataConnector.ConnectorMetadata.Builder setShortDescriptionBytes(ByteString value)

Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).

string short_description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for shortDescription to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setTitle(String value)

public DataConnector.ConnectorMetadata.Builder setTitle(String value)

Optional. Display title of the connector.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The title to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public DataConnector.ConnectorMetadata.Builder setTitleBytes(ByteString value)

Optional. Display title of the connector.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
DataConnector.ConnectorMetadata.Builder

This builder for chaining.