public static final class StoreTypes.ExecutorResourceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorResourceRequest.Builder> implements StoreTypes.ExecutorResourceRequestOrBuilder
org.apache.spark.status.protobuf.ExecutorResourceRequest
Modifier and Type | Method and Description |
---|---|
StoreTypes.ExecutorResourceRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ExecutorResourceRequest |
build() |
StoreTypes.ExecutorResourceRequest |
buildPartial() |
StoreTypes.ExecutorResourceRequest.Builder |
clear() |
StoreTypes.ExecutorResourceRequest.Builder |
clearAmount()
int64 amount = 2; |
StoreTypes.ExecutorResourceRequest.Builder |
clearDiscoveryScript()
optional string discoveryScript = 3; |
StoreTypes.ExecutorResourceRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.ExecutorResourceRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.ExecutorResourceRequest.Builder |
clearResourceName()
optional string resource_name = 1; |
StoreTypes.ExecutorResourceRequest.Builder |
clearVendor()
optional string vendor = 4; |
StoreTypes.ExecutorResourceRequest.Builder |
clone() |
long |
getAmount()
int64 amount = 2; |
StoreTypes.ExecutorResourceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDiscoveryScript()
optional string discoveryScript = 3; |
com.google.protobuf.ByteString |
getDiscoveryScriptBytes()
optional string discoveryScript = 3; |
String |
getResourceName()
optional string resource_name = 1; |
com.google.protobuf.ByteString |
getResourceNameBytes()
optional string resource_name = 1; |
String |
getVendor()
optional string vendor = 4; |
com.google.protobuf.ByteString |
getVendorBytes()
optional string vendor = 4; |
boolean |
hasDiscoveryScript()
optional string discoveryScript = 3; |
boolean |
hasResourceName()
optional string resource_name = 1; |
boolean |
hasVendor()
optional string vendor = 4; |
boolean |
isInitialized() |
StoreTypes.ExecutorResourceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.ExecutorResourceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.ExecutorResourceRequest.Builder |
mergeFrom(StoreTypes.ExecutorResourceRequest other) |
StoreTypes.ExecutorResourceRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.ExecutorResourceRequest.Builder |
setAmount(long value)
int64 amount = 2; |
StoreTypes.ExecutorResourceRequest.Builder |
setDiscoveryScript(String value)
optional string discoveryScript = 3; |
StoreTypes.ExecutorResourceRequest.Builder |
setDiscoveryScriptBytes(com.google.protobuf.ByteString value)
optional string discoveryScript = 3; |
StoreTypes.ExecutorResourceRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ExecutorResourceRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.ExecutorResourceRequest.Builder |
setResourceName(String value)
optional string resource_name = 1; |
StoreTypes.ExecutorResourceRequest.Builder |
setResourceNameBytes(com.google.protobuf.ByteString value)
optional string resource_name = 1; |
StoreTypes.ExecutorResourceRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.ExecutorResourceRequest.Builder |
setVendor(String value)
optional string vendor = 4; |
StoreTypes.ExecutorResourceRequest.Builder |
setVendorBytes(com.google.protobuf.ByteString value)
optional string vendor = 4; |
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.ExecutorResourceRequest.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.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.ExecutorResourceRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ExecutorResourceRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.Builder mergeFrom(StoreTypes.ExecutorResourceRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorResourceRequest.Builder>
public StoreTypes.ExecutorResourceRequest.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.ExecutorResourceRequest.Builder>
java.io.IOException
public boolean hasResourceName()
optional string resource_name = 1;
hasResourceName
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public String getResourceName()
optional string resource_name = 1;
getResourceName
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public com.google.protobuf.ByteString getResourceNameBytes()
optional string resource_name = 1;
getResourceNameBytes
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public StoreTypes.ExecutorResourceRequest.Builder setResourceName(String value)
optional string resource_name = 1;
value
- The resourceName to set.public StoreTypes.ExecutorResourceRequest.Builder clearResourceName()
optional string resource_name = 1;
public StoreTypes.ExecutorResourceRequest.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
optional string resource_name = 1;
value
- The bytes for resourceName to set.public long getAmount()
int64 amount = 2;
getAmount
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public StoreTypes.ExecutorResourceRequest.Builder setAmount(long value)
int64 amount = 2;
value
- The amount to set.public StoreTypes.ExecutorResourceRequest.Builder clearAmount()
int64 amount = 2;
public boolean hasDiscoveryScript()
optional string discoveryScript = 3;
hasDiscoveryScript
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public String getDiscoveryScript()
optional string discoveryScript = 3;
getDiscoveryScript
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public com.google.protobuf.ByteString getDiscoveryScriptBytes()
optional string discoveryScript = 3;
getDiscoveryScriptBytes
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public StoreTypes.ExecutorResourceRequest.Builder setDiscoveryScript(String value)
optional string discoveryScript = 3;
value
- The discoveryScript to set.public StoreTypes.ExecutorResourceRequest.Builder clearDiscoveryScript()
optional string discoveryScript = 3;
public StoreTypes.ExecutorResourceRequest.Builder setDiscoveryScriptBytes(com.google.protobuf.ByteString value)
optional string discoveryScript = 3;
value
- The bytes for discoveryScript to set.public boolean hasVendor()
optional string vendor = 4;
hasVendor
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public String getVendor()
optional string vendor = 4;
getVendor
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public com.google.protobuf.ByteString getVendorBytes()
optional string vendor = 4;
getVendorBytes
in interface StoreTypes.ExecutorResourceRequestOrBuilder
public StoreTypes.ExecutorResourceRequest.Builder setVendor(String value)
optional string vendor = 4;
value
- The vendor to set.public StoreTypes.ExecutorResourceRequest.Builder clearVendor()
optional string vendor = 4;
public StoreTypes.ExecutorResourceRequest.Builder setVendorBytes(com.google.protobuf.ByteString value)
optional string vendor = 4;
value
- The bytes for vendor to set.public final StoreTypes.ExecutorResourceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorResourceRequest.Builder>
public final StoreTypes.ExecutorResourceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorResourceRequest.Builder>