public static final class App.VariableDeclaration.Builder extends GeneratedMessage.Builder<App.VariableDeclaration.Builder> implements App.VariableDeclarationOrBuilderDefines the structure and metadata for a variable.
Protobuf type google.cloud.ces.v1.App.VariableDeclaration
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > App.VariableDeclaration.BuilderImplements
App.VariableDeclarationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public App.VariableDeclaration build()| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration |
|
buildPartial()
public App.VariableDeclaration buildPartial()| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration |
|
clear()
public App.VariableDeclaration.Builder clear()| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
clearDescription()
public App.VariableDeclaration.Builder clearDescription()Required. The description of the variable.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
This builder for chaining. |
clearName()
public App.VariableDeclaration.Builder clearName()Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
This builder for chaining. |
clearSchema()
public App.VariableDeclaration.Builder clearSchema()Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
getDefaultInstanceForType()
public App.VariableDeclaration getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration |
|
getDescription()
public String getDescription()Required. The description of the variable.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Required. The description of the variable.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSchema()
public Schema getSchema()Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema |
The schema. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder()Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
hasSchema()
public boolean hasSchema()Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(App.VariableDeclaration other)
public App.VariableDeclaration.Builder mergeFrom(App.VariableDeclaration other)| Parameter | |
|---|---|
| Name | Description |
other |
App.VariableDeclaration |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public App.VariableDeclaration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public App.VariableDeclaration.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
mergeSchema(Schema value)
public App.VariableDeclaration.Builder mergeSchema(Schema value)Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
setDescription(String value)
public App.VariableDeclaration.Builder setDescription(String value)Required. The description of the variable.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public App.VariableDeclaration.Builder setDescriptionBytes(ByteString value)Required. The description of the variable.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
This builder for chaining. |
setName(String value)
public App.VariableDeclaration.Builder setName(String value)Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public App.VariableDeclaration.Builder setNameBytes(ByteString value)Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
This builder for chaining. |
setSchema(Schema value)
public App.VariableDeclaration.Builder setSchema(Schema value)Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|
setSchema(Schema.Builder builderForValue)
public App.VariableDeclaration.Builder setSchema(Schema.Builder builderForValue)Required. The schema of the variable.
.google.cloud.ces.v1.Schema schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
App.VariableDeclaration.Builder |
|