public static final class Service.Builder extends GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder
A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.Protobuf type
google.appengine.v1.Service
Modifier and Type | Method and Description |
---|---|
Service.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Service |
build() |
Service |
buildPartial() |
Service.Builder |
clear() |
Service.Builder |
clearField(Descriptors.FieldDescriptor field) |
Service.Builder |
clearId()
Relative name of the service within the application.
|
Service.Builder |
clearName()
Full path to the Service resource in the API.
|
Service.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Service.Builder |
clearSplit()
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
Service.Builder |
clone() |
Service |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
Relative name of the service within the application.
|
ByteString |
getIdBytes()
Relative name of the service within the application.
|
java.lang.String |
getName()
Full path to the Service resource in the API.
|
ByteString |
getNameBytes()
Full path to the Service resource in the API.
|
TrafficSplit |
getSplit()
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
TrafficSplit.Builder |
getSplitBuilder()
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
TrafficSplitOrBuilder |
getSplitOrBuilder()
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
boolean |
hasSplit()
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Service.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Service.Builder |
mergeFrom(Message other) |
Service.Builder |
mergeFrom(Service other) |
Service.Builder |
mergeSplit(TrafficSplit value)
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
Service.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Service.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Service.Builder |
setId(java.lang.String value)
Relative name of the service within the application.
|
Service.Builder |
setIdBytes(ByteString value)
Relative name of the service within the application.
|
Service.Builder |
setName(java.lang.String value)
Full path to the Service resource in the API.
|
Service.Builder |
setNameBytes(ByteString value)
Full path to the Service resource in the API.
|
Service.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Service.Builder |
setSplit(TrafficSplit.Builder builderForValue)
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
Service.Builder |
setSplit(TrafficSplit value)
Mapping that defines fractional HTTP traffic diversion to
different versions within the service.
|
Service.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Service.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Service.Builder>
public Service getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Service build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Service buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Service.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Service.Builder>
public Service.Builder mergeFrom(Service other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Service.Builder>
public Service.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Service.Builder>
java.io.IOException
public java.lang.String getName()
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;
getName
in interface ServiceOrBuilder
public ByteString getNameBytes()
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;
getNameBytes
in interface ServiceOrBuilder
public Service.Builder setName(java.lang.String value)
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;
public Service.Builder clearName()
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;
public Service.Builder setNameBytes(ByteString value)
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;
public java.lang.String getId()
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;
getId
in interface ServiceOrBuilder
public ByteString getIdBytes()
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;
getIdBytes
in interface ServiceOrBuilder
public Service.Builder setId(java.lang.String value)
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;
public Service.Builder clearId()
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;
public Service.Builder setIdBytes(ByteString value)
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;
public boolean hasSplit()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
hasSplit
in interface ServiceOrBuilder
public TrafficSplit getSplit()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
getSplit
in interface ServiceOrBuilder
public Service.Builder setSplit(TrafficSplit value)
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
public Service.Builder setSplit(TrafficSplit.Builder builderForValue)
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
public Service.Builder mergeSplit(TrafficSplit value)
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
public Service.Builder clearSplit()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
public TrafficSplit.Builder getSplitBuilder()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
public TrafficSplitOrBuilder getSplitOrBuilder()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
getSplitOrBuilder
in interface ServiceOrBuilder
public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Service.Builder>
public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Service.Builder>