Interface DeleteListingRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    Required.
    com.google.protobuf.ByteString
    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

    • getName

      String getName()
       Required. Resource name of the listing to delete.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Resource name of the listing to delete.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getDeleteCommercial

      boolean getDeleteCommercial()
       Optional. If the listing is commercial then this field must be set to true,
       otherwise a failure is thrown. This acts as a safety guard to avoid
       deleting commercial listings accidentally.
       
      bool delete_commercial = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deleteCommercial.