Interface CreateEntitlementRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    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. The resource name of the reseller's customer account in which to
       create the entitlement. Parent uses the format:
       accounts/{account_id}/customers/{customer_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the reseller's customer account in which to
       create the entitlement. Parent uses the format:
       accounts/{account_id}/customers/{customer_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasEntitlement

      boolean hasEntitlement()
       Required. The entitlement to create.
       
      .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the entitlement field is set.
    • getEntitlement

      Entitlement getEntitlement()
       Required. The entitlement to create.
       
      .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The entitlement.
    • getEntitlementOrBuilder

      EntitlementOrBuilder getEntitlementOrBuilder()
       Required. The entitlement to create.
       
      .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestId

      String getRequestId()
       Optional. You can specify an optional unique request ID, and if you need to
       retry your request, the server will know to ignore the request if it's
       complete.
      
       For example, you make an initial request and the request times out. If you
       make the request again with the same request ID, the server can check if
       it received the original operation with the same request ID. If it did, it
       will ignore the second request.
      
       The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
       with the exception that zero UUID is not supported
       (`00000000-0000-0000-0000-000000000000`).
       
      string request_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       Optional. You can specify an optional unique request ID, and if you need to
       retry your request, the server will know to ignore the request if it's
       complete.
      
       For example, you make an initial request and the request times out. If you
       make the request again with the same request ID, the server can check if
       it received the original operation with the same request ID. If it did, it
       will ignore the second request.
      
       The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
       with the exception that zero UUID is not supported
       (`00000000-0000-0000-0000-000000000000`).
       
      string request_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for requestId.