public final class ActionConfig extends GeneratedMessage implements ActionConfigOrBuilder
Informations to support actions on the connector.
Protobuf type google.cloud.discoveryengine.v1.ActionConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACTION_PARAMS_FIELD_NUMBER
public static final int ACTION_PARAMS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_BAP_CONNECTION_FIELD_NUMBER
public static final int CREATE_BAP_CONNECTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int IS_ACTION_CONFIGURED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JSON_ACTION_PARAMS_FIELD_NUMBER
public static final int JSON_ACTION_PARAMS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_DEFINED_SCOPES_MAPPING_FIELD_NUMBER
public static final int USER_DEFINED_SCOPES_MAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USE_STATIC_SECRETS_FIELD_NUMBER
public static final int USE_STATIC_SECRETS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ActionConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ActionConfig.Builder newBuilder()
newBuilder(ActionConfig prototype)
public static ActionConfig.Builder newBuilder(ActionConfig prototype)
public static ActionConfig parseDelimitedFrom(InputStream input)
public static ActionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ActionConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ActionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ActionConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ActionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ActionConfig parseFrom(CodedInputStream input)
public static ActionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ActionConfig parseFrom(InputStream input)
public static ActionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ActionConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ActionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ActionConfig> parser()
Methods
containsUserDefinedScopesMapping(String key)
public boolean containsUserDefinedScopesMapping(String key)
Optional. Mapping from operation name to the list of scopes. Only be
populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getActionConfigParamsCase()
public ActionConfig.ActionConfigParamsCase getActionConfigParamsCase()
getActionParams()
public Struct getActionParams()
Optional. Action parameters in structured json format.
.google.protobuf.Struct action_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Struct |
The actionParams.
|
getActionParamsOrBuilder()
public StructOrBuilder getActionParamsOrBuilder()
Optional. Action parameters in structured json format.
.google.protobuf.Struct action_params = 2 [(.google.api.field_behavior) = OPTIONAL];
getCreateBapConnection()
public boolean getCreateBapConnection()
Optional. Whether to create a BAP connection for the connector.
bool create_bap_connection = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The createBapConnection.
|
getDefaultInstanceForType()
public ActionConfig getDefaultInstanceForType()
public boolean getIsActionConfigured()
Output only. The connector contains the necessary parameters and is
configured to support actions.
bool is_action_configured = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The isActionConfigured.
|
getJsonActionParams()
public String getJsonActionParams()
Optional. Action parameters in json string format.
string json_action_params = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The jsonActionParams.
|
getJsonActionParamsBytes()
public ByteString getJsonActionParamsBytes()
Optional. Action parameters in json string format.
string json_action_params = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for jsonActionParams.
|
getParserForType()
public Parser<ActionConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getServiceName()
public String getServiceName()
Optional. The Service Directory resource name
(projects/*/locations/*/namespaces/*/services/*)
representing a VPC network endpoint used to connect to the data source's
instance_uri, defined in
DataConnector.params.
Required when VPC Service Controls are enabled.
string service_name = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
Optional. The Service Directory resource name
(projects/*/locations/*/namespaces/*/services/*)
representing a VPC network endpoint used to connect to the data source's
instance_uri, defined in
DataConnector.params.
Required when VPC Service Controls are enabled.
string service_name = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for serviceName.
|
getUseStaticSecrets()
public boolean getUseStaticSecrets()
Optional. Whether to use static secrets for the connector. If true, the
secrets provided in the action_params will be ignored.
bool use_static_secrets = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The useStaticSecrets.
|
getUserDefinedScopesMapping() (deprecated)
public Map<String,ActionConfig.ScopeList> getUserDefinedScopesMapping()
getUserDefinedScopesMappingCount()
public int getUserDefinedScopesMappingCount()
Optional. Mapping from operation name to the list of scopes. Only be
populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getUserDefinedScopesMappingMap()
public Map<String,ActionConfig.ScopeList> getUserDefinedScopesMappingMap()
Optional. Mapping from operation name to the list of scopes. Only be
populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
getUserDefinedScopesMappingOrDefault(String key, ActionConfig.ScopeList defaultValue)
public ActionConfig.ScopeList getUserDefinedScopesMappingOrDefault(String key, ActionConfig.ScopeList defaultValue)
Optional. Mapping from operation name to the list of scopes. Only be
populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
getUserDefinedScopesMappingOrThrow(String key)
public ActionConfig.ScopeList getUserDefinedScopesMappingOrThrow(String key)
Optional. Mapping from operation name to the list of scopes. Only be
populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
hasActionParams()
public boolean hasActionParams()
Optional. Action parameters in structured json format.
.google.protobuf.Struct action_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the actionParams field is set.
|
hasJsonActionParams()
public boolean hasJsonActionParams()
Optional. Action parameters in json string format.
string json_action_params = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the jsonActionParams field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ActionConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ActionConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ActionConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides