public static final class CreateAppRequest.Builder extends GeneratedMessage.Builder<CreateAppRequest.Builder> implements CreateAppRequestOrBuilderRequest message for AgentService.CreateApp.
Protobuf type google.cloud.ces.v1.CreateAppRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAppRequest.BuilderImplements
CreateAppRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAppRequest build()| Returns | |
|---|---|
| Type | Description |
CreateAppRequest |
|
buildPartial()
public CreateAppRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAppRequest |
|
clear()
public CreateAppRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
clearApp()
public CreateAppRequest.Builder clearApp()Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
clearAppId()
public CreateAppRequest.Builder clearAppId()Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
string app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
This builder for chaining. |
clearParent()
public CreateAppRequest.Builder clearParent()Required. The resource name of the location to create an app in.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
This builder for chaining. |
getApp()
public App getApp()Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
App |
The app. |
getAppBuilder()
public App.Builder getAppBuilder()Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
App.Builder |
|
getAppId()
public String getAppId()Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
string app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The appId. |
getAppIdBytes()
public ByteString getAppIdBytes()Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
string app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appId. |
getAppOrBuilder()
public AppOrBuilder getAppOrBuilder()Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AppOrBuilder |
|
getDefaultInstanceForType()
public CreateAppRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAppRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The resource name of the location to create an app 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 location to create an app in.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasApp()
public boolean hasApp()Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the app field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeApp(App value)
public CreateAppRequest.Builder mergeApp(App value)Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
App |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
mergeFrom(CreateAppRequest other)
public CreateAppRequest.Builder mergeFrom(CreateAppRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAppRequest |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAppRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAppRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
setApp(App value)
public CreateAppRequest.Builder setApp(App value)Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
App |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
setApp(App.Builder builderForValue)
public CreateAppRequest.Builder setApp(App.Builder builderForValue)Required. The app to create.
.google.cloud.ces.v1.App app = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
App.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
|
setAppId(String value)
public CreateAppRequest.Builder setAppId(String value)Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
string app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
This builder for chaining. |
setAppIdBytes(ByteString value)
public CreateAppRequest.Builder setAppIdBytes(ByteString value)Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
string app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateAppRequest.Builder setParent(String value)Required. The resource name of the location to create an app in.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAppRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateAppRequest.Builder setParentBytes(ByteString value)Required. The resource name of the location to create an app 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 |
CreateAppRequest.Builder |
This builder for chaining. |