Interface EnableServiceRequestOrBuilder

public interface EnableServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumerId()

public abstract String getConsumerId()

Required. The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms:

  • "project:<project_id>" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.

string consumer_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The consumerId.

getConsumerIdBytes()

public abstract ByteString getConsumerIdBytes()

Required. The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms:

  • "project:<project_id>" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.

string consumer_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for consumerId.

getServiceName()

public abstract String getServiceName()

Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The serviceName.

getServiceNameBytes()

public abstract ByteString getServiceNameBytes()

Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for serviceName.