public static final class StoreTypes.TaskResourceRequest extends com.google.protobuf.GeneratedMessageV3 implements StoreTypes.TaskResourceRequestOrBuilder
org.apache.spark.status.protobuf.TaskResourceRequest
Modifier and Type | Class and Description |
---|---|
static class |
StoreTypes.TaskResourceRequest.Builder
Protobuf type
org.apache.spark.status.protobuf.TaskResourceRequest |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
AMOUNT_FIELD_NUMBER |
static int |
RESOURCE_NAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getAmount()
double amount = 2; |
static StoreTypes.TaskResourceRequest |
getDefaultInstance() |
StoreTypes.TaskResourceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<StoreTypes.TaskResourceRequest> |
getParserForType() |
String |
getResourceName()
optional string resource_name = 1; |
com.google.protobuf.ByteString |
getResourceNameBytes()
optional string resource_name = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasResourceName()
optional string resource_name = 1; |
boolean |
isInitialized() |
static StoreTypes.TaskResourceRequest.Builder |
newBuilder() |
static StoreTypes.TaskResourceRequest.Builder |
newBuilder(StoreTypes.TaskResourceRequest prototype) |
StoreTypes.TaskResourceRequest.Builder |
newBuilderForType() |
static StoreTypes.TaskResourceRequest |
parseDelimitedFrom(java.io.InputStream input) |
static StoreTypes.TaskResourceRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.TaskResourceRequest |
parseFrom(byte[] data) |
static StoreTypes.TaskResourceRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.TaskResourceRequest |
parseFrom(java.nio.ByteBuffer data) |
static StoreTypes.TaskResourceRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.TaskResourceRequest |
parseFrom(com.google.protobuf.ByteString data) |
static StoreTypes.TaskResourceRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.TaskResourceRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StoreTypes.TaskResourceRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.TaskResourceRequest |
parseFrom(java.io.InputStream input) |
static StoreTypes.TaskResourceRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StoreTypes.TaskResourceRequest> |
parser() |
StoreTypes.TaskResourceRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int RESOURCE_NAME_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
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 double getAmount()
double amount = 2;
getAmount
in interface StoreTypes.TaskResourceRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static StoreTypes.TaskResourceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.TaskResourceRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.TaskResourceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.TaskResourceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.TaskResourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.TaskResourceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.TaskResourceRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StoreTypes.TaskResourceRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StoreTypes.TaskResourceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StoreTypes.TaskResourceRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StoreTypes.TaskResourceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StoreTypes.TaskResourceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StoreTypes.TaskResourceRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static StoreTypes.TaskResourceRequest.Builder newBuilder()
public static StoreTypes.TaskResourceRequest.Builder newBuilder(StoreTypes.TaskResourceRequest prototype)
public StoreTypes.TaskResourceRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static StoreTypes.TaskResourceRequest getDefaultInstance()
public static com.google.protobuf.Parser<StoreTypes.TaskResourceRequest> parser()
public com.google.protobuf.Parser<StoreTypes.TaskResourceRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public StoreTypes.TaskResourceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder