Class CreateVersionRequest.Builder (2.32.0)

public static final class CreateVersionRequest.Builder extends GeneratedMessageV3.Builder<CreateVersionRequest.Builder> implements CreateVersionRequestOrBuilder

Request message for Versions.CreateVersion.

Protobuf type google.appengine.v1.CreateVersionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateVersionRequest build()
Returns
TypeDescription
CreateVersionRequest

buildPartial()

public CreateVersionRequest buildPartial()
Returns
TypeDescription
CreateVersionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateVersionRequest.Builder clearParent()

Name of the parent resource to create this version under. Example: apps/myapp/services/default.

string parent = 1;

Returns
TypeDescription
CreateVersionRequest.Builder

This builder for chaining.

clearVersion()

public CreateVersionRequest.Builder clearVersion()

Application deployment configuration.

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

Returns
TypeDescription
CreateVersionRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Name of the parent resource to create this version under. Example: apps/myapp/services/default.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Name of the parent resource to create this version under. Example: apps/myapp/services/default.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getVersion()

public Version getVersion()

Application deployment configuration.

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

Returns
TypeDescription
Version

The version.

getVersionBuilder()

public Version.Builder getVersionBuilder()

Application deployment configuration.

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

Returns
TypeDescription
Version.Builder

getVersionOrBuilder()

public VersionOrBuilder getVersionOrBuilder()

Application deployment configuration.

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

Returns
TypeDescription
VersionOrBuilder

hasVersion()

public boolean hasVersion()

Application deployment configuration.

.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(CreateVersionRequest other)

public CreateVersionRequest.Builder mergeFrom(CreateVersionRequest other)
Parameter
NameDescription
otherCreateVersionRequest
Returns
TypeDescription
CreateVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVersion(Version value)

public CreateVersionRequest.Builder mergeVersion(Version value)

Application deployment configuration.

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

Parameter
NameDescription
valueVersion
Returns
TypeDescription
CreateVersionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateVersionRequest.Builder setParent(String value)

Name of the parent resource to create this version under. Example: apps/myapp/services/default.

string parent = 1;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateVersionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateVersionRequest.Builder setParentBytes(ByteString value)

Name of the parent resource to create this version under. Example: apps/myapp/services/default.

string parent = 1;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateVersionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(Version value)

public CreateVersionRequest.Builder setVersion(Version value)

Application deployment configuration.

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

Parameter
NameDescription
valueVersion
Returns
TypeDescription
CreateVersionRequest.Builder

setVersion(Version.Builder builderForValue)

public CreateVersionRequest.Builder setVersion(Version.Builder builderForValue)

Application deployment configuration.

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

Parameter
NameDescription
builderForValueVersion.Builder
Returns
TypeDescription
CreateVersionRequest.Builder