public static final class Service.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder
A service that is available for use by the consumer.Protobuf type
google.api.serviceusage.v1.Service| Modifier and Type | Method and Description |
|---|---|
Service.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Service |
build() |
Service |
buildPartial() |
Service.Builder |
clear() |
Service.Builder |
clearConfig()
The service configuration of the available service.
|
Service.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Service.Builder |
clearName()
The resource name of the consumer and service.
|
Service.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Service.Builder |
clearParent()
The resource name of the consumer.
|
Service.Builder |
clearState()
Whether or not the service has been enabled for use by the consumer.
|
Service.Builder |
clone() |
ServiceConfig |
getConfig()
The service configuration of the available service.
|
ServiceConfig.Builder |
getConfigBuilder()
The service configuration of the available service.
|
ServiceConfigOrBuilder |
getConfigOrBuilder()
The service configuration of the available service.
|
Service |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The resource name of the consumer and service.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the consumer and service.
|
String |
getParent()
The resource name of the consumer.
|
com.google.protobuf.ByteString |
getParentBytes()
The resource name of the consumer.
|
State |
getState()
Whether or not the service has been enabled for use by the consumer.
|
int |
getStateValue()
Whether or not the service has been enabled for use by the consumer.
|
boolean |
hasConfig()
The service configuration of the available service.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Service.Builder |
mergeConfig(ServiceConfig value)
The service configuration of the available service.
|
Service.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Service.Builder |
mergeFrom(com.google.protobuf.Message other) |
Service.Builder |
mergeFrom(Service other) |
Service.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Service.Builder |
setConfig(ServiceConfig.Builder builderForValue)
The service configuration of the available service.
|
Service.Builder |
setConfig(ServiceConfig value)
The service configuration of the available service.
|
Service.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Service.Builder |
setName(String value)
The resource name of the consumer and service.
|
Service.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the consumer and service.
|
Service.Builder |
setParent(String value)
The resource name of the consumer.
|
Service.Builder |
setParentBytes(com.google.protobuf.ByteString value)
The resource name of the consumer.
|
Service.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Service.Builder |
setState(State value)
Whether or not the service has been enabled for use by the consumer.
|
Service.Builder |
setStateValue(int value)
Whether or not the service has been enabled for use by the consumer.
|
Service.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Service build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Service buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Service.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.Builder>public Service.Builder mergeFrom(Service other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public Service.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.Builder>IOExceptionpublic String getName()
The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com
string name = 1;getName in interface ServiceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com
string name = 1;getNameBytes in interface ServiceOrBuilderpublic Service.Builder setName(String value)
The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com
string name = 1;value - The name to set.public Service.Builder clearName()
The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com
string name = 1;public Service.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com
string name = 1;value - The bytes for name to set.public String getParent()
The resource name of the consumer. A valid name would be: - projects/123
string parent = 5;getParent in interface ServiceOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
The resource name of the consumer. A valid name would be: - projects/123
string parent = 5;getParentBytes in interface ServiceOrBuilderpublic Service.Builder setParent(String value)
The resource name of the consumer. A valid name would be: - projects/123
string parent = 5;value - The parent to set.public Service.Builder clearParent()
The resource name of the consumer. A valid name would be: - projects/123
string parent = 5;public Service.Builder setParentBytes(com.google.protobuf.ByteString value)
The resource name of the consumer. A valid name would be: - projects/123
string parent = 5;value - The bytes for parent to set.public boolean hasConfig()
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;hasConfig in interface ServiceOrBuilderpublic ServiceConfig getConfig()
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;getConfig in interface ServiceOrBuilderpublic Service.Builder setConfig(ServiceConfig value)
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;public Service.Builder setConfig(ServiceConfig.Builder builderForValue)
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;public Service.Builder mergeConfig(ServiceConfig value)
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;public Service.Builder clearConfig()
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;public ServiceConfig.Builder getConfigBuilder()
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;public ServiceConfigOrBuilder getConfigOrBuilder()
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1.ServiceConfig config = 2;getConfigOrBuilder in interface ServiceOrBuilderpublic int getStateValue()
Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1.State state = 4;getStateValue in interface ServiceOrBuilderpublic Service.Builder setStateValue(int value)
Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1.State state = 4;value - The enum numeric value on the wire for state to set.public State getState()
Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1.State state = 4;getState in interface ServiceOrBuilderpublic Service.Builder setState(State value)
Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1.State state = 4;value - The state to set.public Service.Builder clearState()
Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1.State state = 4;public final Service.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>public final Service.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>Copyright © 2024 Google LLC. All rights reserved.