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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getName()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
getName
in interface UpdateServiceRequestOrBuilder
public ByteString getNameBytes()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
getNameBytes
in interface UpdateServiceRequestOrBuilder
public 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 UpdateServiceRequestOrBuilder
public 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 UpdateServiceRequestOrBuilder
public 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 UpdateServiceRequestOrBuilder
public boolean hasUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
hasUpdateMask
in interface UpdateServiceRequestOrBuilder
public FieldMask getUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMask
in interface UpdateServiceRequestOrBuilder
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMaskOrBuilder
in interface UpdateServiceRequestOrBuilder
public 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 UpdateServiceRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static UpdateServiceRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateServiceRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateServiceRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateServiceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateServiceRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateServiceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UpdateServiceRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UpdateServiceRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UpdateServiceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public UpdateServiceRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static UpdateServiceRequest.Builder newBuilder()
public static UpdateServiceRequest.Builder newBuilder(UpdateServiceRequest prototype)
public UpdateServiceRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected UpdateServiceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static UpdateServiceRequest getDefaultInstance()
public static Parser<UpdateServiceRequest> parser()
public Parser<UpdateServiceRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public UpdateServiceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder