public static final class Accelerator.Builder extends GeneratedMessageV3.Builder<Accelerator.Builder> implements AcceleratorOrBuilder
Identifies Data Fusion accelerators for an instance.
Protobuf type google.cloud.datafusion.v1.Accelerator
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Accelerator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Accelerator build()
Returns
buildPartial()
public Accelerator buildPartial()
Returns
clear()
public Accelerator.Builder clear()
Returns
Overrides
clearAcceleratorType()
public Accelerator.Builder clearAcceleratorType()
The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Accelerator.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Accelerator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearState()
public Accelerator.Builder clearState()
The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
Returns
clone()
public Accelerator.Builder clone()
Returns
Overrides
getAcceleratorType()
public Accelerator.AcceleratorType getAcceleratorType()
The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getState()
public Accelerator.State getState()
The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Accelerator other)
public Accelerator.Builder mergeFrom(Accelerator other)
Parameter
Returns
public Accelerator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Accelerator.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Accelerator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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 | int
The enum numeric value on the wire for acceleratorType to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Accelerator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Accelerator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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 | int
The enum numeric value on the wire for state to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Accelerator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides