public static final class Accelerator.Builder extends GeneratedMessage.Builder<Accelerator.Builder> implements AcceleratorOrBuilderIdentifies Data Fusion accelerators for an instance.
Protobuf type google.cloud.datafusion.v1.Accelerator
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Accelerator.BuilderImplements
AcceleratorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Accelerator build()| Returns | |
|---|---|
| Type | Description |
Accelerator |
|
buildPartial()
public Accelerator buildPartial()| Returns | |
|---|---|
| Type | Description |
Accelerator |
|
clear()
public Accelerator.Builder clear()| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
|
clearAcceleratorType()
public Accelerator.Builder clearAcceleratorType()The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
This builder for chaining. |
clearState()
public Accelerator.Builder clearState()The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
This builder for chaining. |
getAcceleratorType()
public Accelerator.AcceleratorType getAcceleratorType()The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
| Returns | |
|---|---|
| Type | Description |
Accelerator.AcceleratorType |
The acceleratorType. |
getAcceleratorTypeValue()
public int getAcceleratorTypeValue()The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for acceleratorType. |
getDefaultInstanceForType()
public Accelerator getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Accelerator |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
public Accelerator.State getState()The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
| Returns | |
|---|---|
| Type | Description |
Accelerator.State |
The state. |
getStateValue()
public int getStateValue()The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Accelerator other)
public Accelerator.Builder mergeFrom(Accelerator other)| Parameter | |
|---|---|
| Name | Description |
other |
Accelerator |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Accelerator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Accelerator.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
|
setAcceleratorType(Accelerator.AcceleratorType value)
public Accelerator.Builder setAcceleratorType(Accelerator.AcceleratorType value)The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Accelerator.AcceleratorTypeThe acceleratorType to set. |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
This builder for chaining. |
setAcceleratorTypeValue(int value)
public Accelerator.Builder setAcceleratorTypeValue(int value)The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for acceleratorType to set. |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
This builder for chaining. |
setState(Accelerator.State value)
public Accelerator.Builder setState(Accelerator.State value)The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Accelerator.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
This builder for chaining. |
setStateValue(int value)
public Accelerator.Builder setStateValue(int value)The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Accelerator.Builder |
This builder for chaining. |