public static final class DisableServiceRequest.Builder extends GeneratedMessageV3.Builder<DisableServiceRequest.Builder> implements DisableServiceRequestOrBuilder
Request message for DisableService method.
Protobuf type google.api.servicemanagement.v1.DisableServiceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DisableServiceRequest.BuilderImplements
DisableServiceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DisableServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DisableServiceRequest.Builder |
build()
public DisableServiceRequest build()
Type | Description |
DisableServiceRequest |
buildPartial()
public DisableServiceRequest buildPartial()
Type | Description |
DisableServiceRequest |
clear()
public DisableServiceRequest.Builder clear()
Type | Description |
DisableServiceRequest.Builder |
clearConsumerId()
public DisableServiceRequest.Builder clearConsumerId()
Required. The identity of consumer resource which service disablement 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];
Type | Description |
DisableServiceRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DisableServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DisableServiceRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DisableServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DisableServiceRequest.Builder |
clearServiceName()
public DisableServiceRequest.Builder clearServiceName()
Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
DisableServiceRequest.Builder | This builder for chaining. |
clone()
public DisableServiceRequest.Builder clone()
Type | Description |
DisableServiceRequest.Builder |
getConsumerId()
public String getConsumerId()
Required. The identity of consumer resource which service disablement 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];
Type | Description |
String | The consumerId. |
getConsumerIdBytes()
public ByteString getConsumerIdBytes()
Required. The identity of consumer resource which service disablement 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];
Type | Description |
ByteString | The bytes for consumerId. |
getDefaultInstanceForType()
public DisableServiceRequest getDefaultInstanceForType()
Type | Description |
DisableServiceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getServiceName()
public String getServiceName()
Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The serviceName. |
getServiceNameBytes()
public ByteString getServiceNameBytes()
Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for serviceName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DisableServiceRequest other)
public DisableServiceRequest.Builder mergeFrom(DisableServiceRequest other)
Name | Description |
other | DisableServiceRequest |
Type | Description |
DisableServiceRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisableServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DisableServiceRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DisableServiceRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DisableServiceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DisableServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DisableServiceRequest.Builder |
setConsumerId(String value)
public DisableServiceRequest.Builder setConsumerId(String value)
Required. The identity of consumer resource which service disablement 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];
Name | Description |
value | String The consumerId to set. |
Type | Description |
DisableServiceRequest.Builder | This builder for chaining. |
setConsumerIdBytes(ByteString value)
public DisableServiceRequest.Builder setConsumerIdBytes(ByteString value)
Required. The identity of consumer resource which service disablement 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];
Name | Description |
value | ByteString The bytes for consumerId to set. |
Type | Description |
DisableServiceRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DisableServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DisableServiceRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DisableServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DisableServiceRequest.Builder |
setServiceName(String value)
public DisableServiceRequest.Builder setServiceName(String value)
Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The serviceName to set. |
Type | Description |
DisableServiceRequest.Builder | This builder for chaining. |
setServiceNameBytes(ByteString value)
public DisableServiceRequest.Builder setServiceNameBytes(ByteString value)
Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for serviceName to set. |
Type | Description |
DisableServiceRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DisableServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DisableServiceRequest.Builder |