Class UpdateVersionRequest.Builder (2.29.0)

public static final class UpdateVersionRequest.Builder extends GeneratedMessageV3.Builder<UpdateVersionRequest.Builder> implements UpdateVersionRequestOrBuilder

Request message for Versions.UpdateVersion.

Protobuf type google.appengine.v1.UpdateVersionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

build()

public UpdateVersionRequest build()
Returns
TypeDescription
UpdateVersionRequest

buildPartial()

public UpdateVersionRequest buildPartial()
Returns
TypeDescription
UpdateVersionRequest

clear()

public UpdateVersionRequest.Builder clear()
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

clearName()

public UpdateVersionRequest.Builder clearName()

Name of the resource to update. Example: apps/myapp/services/default/versions/1.

string name = 1;

Returns
TypeDescription
UpdateVersionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

clearUpdateMask()

public UpdateVersionRequest.Builder clearUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateVersionRequest.Builder

clearVersion()

public UpdateVersionRequest.Builder clearVersion()

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Returns
TypeDescription
UpdateVersionRequest.Builder

clone()

public UpdateVersionRequest.Builder clone()
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the resource to update. Example: apps/myapp/services/default/versions/1.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource to update. Example: apps/myapp/services/default/versions/1.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

getVersion()

public Version getVersion()

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Returns
TypeDescription
Version

The version.

getVersionBuilder()

public Version.Builder getVersionBuilder()

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Returns
TypeDescription
Version.Builder

getVersionOrBuilder()

public VersionOrBuilder getVersionOrBuilder()

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Returns
TypeDescription
VersionOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hasVersion()

public boolean hasVersion()

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Returns
TypeDescription
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateVersionRequest other)

public UpdateVersionRequest.Builder mergeFrom(UpdateVersionRequest other)
Parameter
NameDescription
otherUpdateVersionRequest
Returns
TypeDescription
UpdateVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateVersionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateVersionRequest.Builder mergeUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateVersionRequest.Builder

mergeVersion(Version value)

public UpdateVersionRequest.Builder mergeVersion(Version value)

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Parameter
NameDescription
valueVersion
Returns
TypeDescription
UpdateVersionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

setName(String value)

public UpdateVersionRequest.Builder setName(String value)

Name of the resource to update. Example: apps/myapp/services/default/versions/1.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
UpdateVersionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateVersionRequest.Builder setNameBytes(ByteString value)

Name of the resource to update. Example: apps/myapp/services/default/versions/1.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UpdateVersionRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateVersionRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateVersionRequest.Builder setUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateVersionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateVersionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateVersionRequest.Builder

setVersion(Version value)

public UpdateVersionRequest.Builder setVersion(Version value)

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Parameter
NameDescription
valueVersion
Returns
TypeDescription
UpdateVersionRequest.Builder

setVersion(Version.Builder builderForValue)

public UpdateVersionRequest.Builder setVersion(Version.Builder builderForValue)

A Version containing the updated resource. Only fields set in the field mask will be updated.

.google.appengine.v1.Version version = 2;

Parameter
NameDescription
builderForValueVersion.Builder
Returns
TypeDescription
UpdateVersionRequest.Builder