Package org.apache.spark.status.protobuf
Interface StoreTypes.ResourceInformationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoreTypes.ResourceInformation
,StoreTypes.ResourceInformation.Builder
- Enclosing class:
- StoreTypes
public static interface StoreTypes.ResourceInformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAddresses
(int index) repeated string addresses = 2;
com.google.protobuf.ByteString
getAddressesBytes
(int index) repeated string addresses = 2;
int
repeated string addresses = 2;
repeated string addresses = 2;
getName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
boolean
hasName()
optional string name = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1;
- Returns:
- The bytes for name.
-
getAddressesList
repeated string addresses = 2;
- Returns:
- A list containing the addresses.
-
getAddressesCount
int getAddressesCount()repeated string addresses = 2;
- Returns:
- The count of addresses.
-
getAddresses
repeated string addresses = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The addresses at the given index.
-
getAddressesBytes
com.google.protobuf.ByteString getAddressesBytes(int index) repeated string addresses = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the addresses at the given index.
-