public final class UpdateServiceRequest extends GeneratedMessageV3 implements UpdateServiceRequestOrBuilder
Request message for `Services.UpdateService`.Protobuf type
google.appengine.v1.UpdateServiceRequest| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateServiceRequest.Builder
Request message for `Services.UpdateService`.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
MIGRATE_TRAFFIC_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
static int |
UPDATE_MASK_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
public static final int MIGRATE_TRAFFIC_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;getName in interface UpdateServiceRequestOrBuilderpublic ByteString getNameBytes()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;getNameBytes in interface UpdateServiceRequestOrBuilderpublic boolean hasService()
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;hasService in interface UpdateServiceRequestOrBuilderpublic Service getService()
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;getService in interface UpdateServiceRequestOrBuilderpublic ServiceOrBuilder getServiceOrBuilder()
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;getServiceOrBuilder in interface UpdateServiceRequestOrBuilderpublic boolean hasUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;hasUpdateMask in interface UpdateServiceRequestOrBuilderpublic FieldMask getUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;getUpdateMask in interface UpdateServiceRequestOrBuilderpublic FieldMaskOrBuilder getUpdateMaskOrBuilder()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;getUpdateMaskOrBuilder in interface UpdateServiceRequestOrBuilderpublic boolean getMigrateTraffic()
Set to `true` to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see [Migrating and Splitting Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
bool migrate_traffic = 4;getMigrateTraffic in interface UpdateServiceRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static UpdateServiceRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UpdateServiceRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UpdateServiceRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UpdateServiceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UpdateServiceRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UpdateServiceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UpdateServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UpdateServiceRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UpdateServiceRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UpdateServiceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic UpdateServiceRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static UpdateServiceRequest.Builder newBuilder()
public static UpdateServiceRequest.Builder newBuilder(UpdateServiceRequest prototype)
public UpdateServiceRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected UpdateServiceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static UpdateServiceRequest getDefaultInstance()
public static Parser<UpdateServiceRequest> parser()
public Parser<UpdateServiceRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public UpdateServiceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder