public static final class StoreTypes.TaskResourceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder> implements StoreTypes.TaskResourceRequestOrBuilder
org.apache.spark.status.protobuf.TaskResourceRequest
Modifier and Type | Method and Description |
---|---|
StoreTypes.TaskResourceRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.TaskResourceRequest |
build() |
StoreTypes.TaskResourceRequest |
buildPartial() |
StoreTypes.TaskResourceRequest.Builder |
clear() |
StoreTypes.TaskResourceRequest.Builder |
clearAmount()
double amount = 2; |
StoreTypes.TaskResourceRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.TaskResourceRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.TaskResourceRequest.Builder |
clearResourceName()
optional string resource_name = 1; |
StoreTypes.TaskResourceRequest.Builder |
clone() |
double |
getAmount()
double amount = 2; |
StoreTypes.TaskResourceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getResourceName()
optional string resource_name = 1; |
com.google.protobuf.ByteString |
getResourceNameBytes()
optional string resource_name = 1; |
boolean |
hasResourceName()
optional string resource_name = 1; |
boolean |
isInitialized() |
StoreTypes.TaskResourceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.TaskResourceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.TaskResourceRequest.Builder |
mergeFrom(StoreTypes.TaskResourceRequest other) |
StoreTypes.TaskResourceRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.TaskResourceRequest.Builder |
setAmount(double value)
double amount = 2; |
StoreTypes.TaskResourceRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.TaskResourceRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.TaskResourceRequest.Builder |
setResourceName(String value)
optional string resource_name = 1; |
StoreTypes.TaskResourceRequest.Builder |
setResourceNameBytes(com.google.protobuf.ByteString value)
optional string resource_name = 1; |
StoreTypes.TaskResourceRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.TaskResourceRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.TaskResourceRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.TaskResourceRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.TaskResourceRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder mergeFrom(StoreTypes.TaskResourceRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public StoreTypes.TaskResourceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.TaskResourceRequest.Builder>
java.io.IOException
public boolean hasResourceName()
optional string resource_name = 1;
hasResourceName
in interface StoreTypes.TaskResourceRequestOrBuilder
public String getResourceName()
optional string resource_name = 1;
getResourceName
in interface StoreTypes.TaskResourceRequestOrBuilder
public com.google.protobuf.ByteString getResourceNameBytes()
optional string resource_name = 1;
getResourceNameBytes
in interface StoreTypes.TaskResourceRequestOrBuilder
public StoreTypes.TaskResourceRequest.Builder setResourceName(String value)
optional string resource_name = 1;
value
- The resourceName to set.public StoreTypes.TaskResourceRequest.Builder clearResourceName()
optional string resource_name = 1;
public StoreTypes.TaskResourceRequest.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
optional string resource_name = 1;
value
- The bytes for resourceName to set.public double getAmount()
double amount = 2;
getAmount
in interface StoreTypes.TaskResourceRequestOrBuilder
public StoreTypes.TaskResourceRequest.Builder setAmount(double value)
double amount = 2;
value
- The amount to set.public StoreTypes.TaskResourceRequest.Builder clearAmount()
double amount = 2;
public final StoreTypes.TaskResourceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>
public final StoreTypes.TaskResourceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.TaskResourceRequest.Builder>