public static final class CreateAppVersionRequest.Builder extends GeneratedMessage.Builder<CreateAppVersionRequest.Builder> implements CreateAppVersionRequestOrBuilderRequest message for AgentService.CreateAppVersion
Protobuf type google.cloud.ces.v1.CreateAppVersionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAppVersionRequest.BuilderImplements
CreateAppVersionRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAppVersionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAppVersionRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAppVersionRequest.Builder |
This builder for chaining. |