public static final class UpdateServiceRequest.Builder extends GeneratedMessageV3.Builder<UpdateServiceRequest.Builder> implements UpdateServiceRequestOrBuilder
Request message for `Services.UpdateService`.Protobuf type
google.appengine.v1.UpdateServiceRequest
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<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateServiceRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateServiceRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateServiceRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.Builder mergeFrom(UpdateServiceRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public UpdateServiceRequest.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<UpdateServiceRequest.Builder>
java.io.IOException
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 UpdateServiceRequest.Builder setName(java.lang.String value)
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
public UpdateServiceRequest.Builder clearName()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
public UpdateServiceRequest.Builder setNameBytes(ByteString value)
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
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 UpdateServiceRequest.Builder setService(Service value)
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;
public UpdateServiceRequest.Builder setService(Service.Builder builderForValue)
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;
public UpdateServiceRequest.Builder mergeService(Service value)
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;
public UpdateServiceRequest.Builder clearService()
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;
public Service.Builder getServiceBuilder()
A Service resource containing the updated service. Only fields set in the field mask will be updated.
.google.appengine.v1.Service service = 2;
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 UpdateServiceRequest.Builder setUpdateMask(FieldMask value)
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
public UpdateServiceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
public UpdateServiceRequest.Builder mergeUpdateMask(FieldMask value)
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
public UpdateServiceRequest.Builder clearUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
public FieldMask.Builder getUpdateMaskBuilder()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
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 UpdateServiceRequest.Builder setMigrateTraffic(boolean value)
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;
public UpdateServiceRequest.Builder clearMigrateTraffic()
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;
public final UpdateServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
public final UpdateServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>