Send feedback
Class EnableServiceResponse.Builder (2.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.49.0 keyboard_arrow_down
public static final class EnableServiceResponse . Builder extends GeneratedMessageV3 . Builder<EnableServiceResponse . Builder > implements EnableServiceResponseOrBuilder
Response message for the EnableService
method.
This response message is assigned to the response
field of the returned
Operation when that operation is done.
Protobuf type google.api.serviceusage.v1.EnableServiceResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnableServiceResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public EnableServiceResponse build ()
buildPartial()
public EnableServiceResponse buildPartial ()
clear()
public EnableServiceResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EnableServiceResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EnableServiceResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearService()
public EnableServiceResponse . Builder clearService ()
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
clone()
public EnableServiceResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public EnableServiceResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getService()
public Service getService ()
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
Returns
Type
Description
Service
The service.
getServiceBuilder()
public Service . Builder getServiceBuilder ()
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
getServiceOrBuilder()
public ServiceOrBuilder getServiceOrBuilder ()
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
hasService()
public boolean hasService ()
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
Returns
Type
Description
boolean
Whether the service field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(EnableServiceResponse other)
public EnableServiceResponse . Builder mergeFrom ( EnableServiceResponse other )
public EnableServiceResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public EnableServiceResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeService(Service value)
public EnableServiceResponse . Builder mergeService ( Service value )
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
Parameter
Name
Description
value
Service
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnableServiceResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EnableServiceResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnableServiceResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setService(Service value)
public EnableServiceResponse . Builder setService ( Service value )
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
Parameter
Name
Description
value
Service
setService(Service.Builder builderForValue)
public EnableServiceResponse . Builder setService ( Service . Builder builderForValue )
The new state of the service after enabling.
.google.api.serviceusage.v1.Service service = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final EnableServiceResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]