public static final class CliConfig.Builder extends GeneratedMessage.Builder<CliConfig.Builder> implements CliConfigOrBuilderThe configuration for the CLI execution based connectors.
Protobuf type google.cloud.discoveryengine.v1.CliConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CliConfig.BuilderImplements
CliConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEnabledActions(Iterable<String> values)
public CliConfig.Builder addAllEnabledActions(Iterable<String> values)Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The enabledActions to add. |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
This builder for chaining. |
addEnabledActions(String value)
public CliConfig.Builder addEnabledActions(String value)Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe enabledActions to add. |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
This builder for chaining. |
addEnabledActionsBytes(ByteString value)
public CliConfig.Builder addEnabledActionsBytes(ByteString value)Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the enabledActions to add. |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
This builder for chaining. |
build()
public CliConfig build()| Returns | |
|---|---|
| Type | Description |
CliConfig |
|
buildPartial()
public CliConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
CliConfig |
|
clear()
public CliConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
|
clearEnabledActions()
public CliConfig.Builder clearEnabledActions()Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CliConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CliConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabledActions(int index)
public String getEnabledActions(int index)Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The enabledActions at the given index. |
getEnabledActionsBytes(int index)
public ByteString getEnabledActionsBytes(int index)Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the enabledActions at the given index. |
getEnabledActionsCount()
public int getEnabledActionsCount()Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of enabledActions. |
getEnabledActionsList()
public ProtocolStringList getEnabledActionsList()Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the enabledActions. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CliConfig other)
public CliConfig.Builder mergeFrom(CliConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
CliConfig |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CliConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CliConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
|
setEnabledActions(int index, String value)
public CliConfig.Builder setEnabledActions(int index, String value)Optional. The actions enabled on the associated CLI connection.
repeated string enabled_actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe enabledActions to set. |
| Returns | |
|---|---|
| Type | Description |
CliConfig.Builder |
This builder for chaining. |