- 3.53.0 (latest)
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.7
- 3.0.1
- 2.1.7
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 |