Class CreateAppVersionRequest.Builder (0.1.0)

public static final class CreateAppVersionRequest.Builder extends GeneratedMessage.Builder<CreateAppVersionRequest.Builder> implements CreateAppVersionRequestOrBuilder

Request message for AgentService.CreateAppVersion

Protobuf type google.cloud.ces.v1.CreateAppVersionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateAppVersionRequest build()
Returns
Type Description
CreateAppVersionRequest

buildPartial()

public CreateAppVersionRequest buildPartial()
Returns
Type Description
CreateAppVersionRequest

clear()

public CreateAppVersionRequest.Builder clear()
Returns
Type Description
CreateAppVersionRequest.Builder
Overrides

clearAppVersion()

public CreateAppVersionRequest.Builder clearAppVersion()

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAppVersionRequest.Builder

clearAppVersionId()

public CreateAppVersionRequest.Builder clearAppVersionId()

Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.

string app_version_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateAppVersionRequest.Builder

This builder for chaining.

clearParent()

public CreateAppVersionRequest.Builder clearParent()

Required. The resource name of the app to create an app version in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateAppVersionRequest.Builder

This builder for chaining.

getAppVersion()

public AppVersion getAppVersion()

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppVersion

The appVersion.

getAppVersionBuilder()

public AppVersion.Builder getAppVersionBuilder()

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppVersion.Builder

getAppVersionId()

public String getAppVersionId()

Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.

string app_version_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The appVersionId.

getAppVersionIdBytes()

public ByteString getAppVersionIdBytes()

Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.

string app_version_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for appVersionId.

getAppVersionOrBuilder()

public AppVersionOrBuilder getAppVersionOrBuilder()

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppVersionOrBuilder

getDefaultInstanceForType()

public CreateAppVersionRequest getDefaultInstanceForType()
Returns
Type Description
CreateAppVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the app to create an app version in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the app to create an app version in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasAppVersion()

public boolean hasAppVersion()

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the appVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAppVersion(AppVersion value)

public CreateAppVersionRequest.Builder mergeAppVersion(AppVersion value)

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppVersion
Returns
Type Description
CreateAppVersionRequest.Builder

mergeFrom(CreateAppVersionRequest other)

public CreateAppVersionRequest.Builder mergeFrom(CreateAppVersionRequest other)
Parameter
Name Description
other CreateAppVersionRequest
Returns
Type Description
CreateAppVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAppVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAppVersionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateAppVersionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateAppVersionRequest.Builder
Overrides

setAppVersion(AppVersion value)

public CreateAppVersionRequest.Builder setAppVersion(AppVersion value)

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppVersion
Returns
Type Description
CreateAppVersionRequest.Builder

setAppVersion(AppVersion.Builder builderForValue)

public CreateAppVersionRequest.Builder setAppVersion(AppVersion.Builder builderForValue)

Required. The app version to create.

.google.cloud.ces.v1.AppVersion app_version = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AppVersion.Builder
Returns
Type Description
CreateAppVersionRequest.Builder

setAppVersionId(String value)

public CreateAppVersionRequest.Builder setAppVersionId(String value)

Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.

string app_version_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The appVersionId to set.

Returns
Type Description
CreateAppVersionRequest.Builder

This builder for chaining.

setAppVersionIdBytes(ByteString value)

public CreateAppVersionRequest.Builder setAppVersionIdBytes(ByteString value)

Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.

string app_version_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for appVersionId to set.

Returns
Type Description
CreateAppVersionRequest.Builder

This builder for chaining.

setParent(String value)

public CreateAppVersionRequest.Builder setParent(String value)

Required. The resource name of the app to create an app version in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAppVersionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAppVersionRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the app to create an app version in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAppVersionRequest.Builder

This builder for chaining.