Interface EnableServiceRequestOrBuilder

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

    public interface EnableServiceRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Name of the consumer and service to enable the service on.
      com.google.protobuf.ByteString getNameBytes()
      Name of the consumer and service to enable the service on.
      • 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 Detail

      • getName

        String getName()
         Name of the consumer and service to enable the service on.
        
         The `EnableService` and `DisableService` methods currently only support
         projects.
        
         Enabling a service requires that the service is public or is shared with
         the user enabling the service.
        
         An example name would be:
         `projects/123/services/serviceusage.googleapis.com` where `123` is the
         project number.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the consumer and service to enable the service on.
        
         The `EnableService` and `DisableService` methods currently only support
         projects.
        
         Enabling a service requires that the service is public or is shared with
         the user enabling the service.
        
         An example name would be:
         `projects/123/services/serviceusage.googleapis.com` where `123` is the
         project number.
         
        string name = 1;
        Returns:
        The bytes for name.