Interface CreateControlRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateControlRequest, CreateControlRequest.Builder

@Generated public interface CreateControlRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. Full resource name of parent data store. Format:
       `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`
       or
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Full resource name of parent data store. Format:
       `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`
       or
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasControl

      boolean hasControl()
       Required. The Control to create.
       
      .google.cloud.discoveryengine.v1beta.Control control = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the control field is set.
    • getControl

      Control getControl()
       Required. The Control to create.
       
      .google.cloud.discoveryengine.v1beta.Control control = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The control.
    • getControlOrBuilder

      ControlOrBuilder getControlOrBuilder()
       Required. The Control to create.
       
      .google.cloud.discoveryengine.v1beta.Control control = 2 [(.google.api.field_behavior) = REQUIRED];
    • getControlId

      String getControlId()
       Required. The ID to use for the Control, which will become the final
       component of the Control's resource name.
      
       This value must be within 1-63 characters.
       Valid characters are /[a-z][0-9]-_/.
       
      string control_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The controlId.
    • getControlIdBytes

      com.google.protobuf.ByteString getControlIdBytes()
       Required. The ID to use for the Control, which will become the final
       component of the Control's resource name.
      
       This value must be within 1-63 characters.
       Valid characters are /[a-z][0-9]-_/.
       
      string control_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for controlId.