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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Accelerator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Accelerator build()
buildPartial()
public Accelerator buildPartial()
clear()
public Accelerator.Builder clear()
Overrides
clearAcceleratorType()
public Accelerator.Builder clearAcceleratorType()
The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
clearField(Descriptors.FieldDescriptor field)
public Accelerator.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Accelerator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public Accelerator.Builder clearState()
The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
clone()
public Accelerator.Builder clone()
Overrides
getAcceleratorType()
public Accelerator.AcceleratorType getAcceleratorType()
The type of an accelator for a CDF instance.
.google.cloud.datafusion.v1.Accelerator.AcceleratorType accelerator_type = 1;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
public Accelerator.State getState()
The state of the accelerator
.google.cloud.datafusion.v1.Accelerator.State state = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Accelerator other)
public Accelerator.Builder mergeFrom(Accelerator other)
public Accelerator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Accelerator.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Accelerator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Accelerator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Accelerator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Accelerator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides