public final class NfsShare extends com.google.protobuf.GeneratedMessageV3 implements NfsShareOrBuilder
An NFS share.Protobuf type
google.cloud.baremetalsolution.v2.NfsShare| Modifier and Type | Class and Description |
|---|---|
static class |
NfsShare.AllowedClient
Represents an 'access point' for the share.
|
static interface |
NfsShare.AllowedClientOrBuilder |
static class |
NfsShare.Builder
An NFS share.
|
static class |
NfsShare.MountPermissions
The possible mount permissions.
|
static class |
NfsShare.State
The possible states for this NFS share.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_CLIENTS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NFS_SHARE_ID_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
VOLUME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels as key value pairs.
|
boolean |
equals(Object obj) |
NfsShare.AllowedClient |
getAllowedClients(int index)
List of allowed access points.
|
int |
getAllowedClientsCount()
List of allowed access points.
|
List<NfsShare.AllowedClient> |
getAllowedClientsList()
List of allowed access points.
|
NfsShare.AllowedClientOrBuilder |
getAllowedClientsOrBuilder(int index)
List of allowed access points.
|
List<? extends NfsShare.AllowedClientOrBuilder> |
getAllowedClientsOrBuilderList()
List of allowed access points.
|
static NfsShare |
getDefaultInstance() |
NfsShare |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs.
|
Map<String,String> |
getLabelsMap()
Labels as key value pairs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs.
|
String |
getLabelsOrThrow(String key)
Labels as key value pairs.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getNfsShareId()
Output only.
|
com.google.protobuf.ByteString |
getNfsShareIdBytes()
Output only.
|
com.google.protobuf.Parser<NfsShare> |
getParserForType() |
int |
getSerializedSize() |
NfsShare.State |
getState()
The state of the NFS share.
|
int |
getStateValue()
The state of the NFS share.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVolume()
The volume containing the share.
|
com.google.protobuf.ByteString |
getVolumeBytes()
The volume containing the share.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static NfsShare.Builder |
newBuilder() |
static NfsShare.Builder |
newBuilder(NfsShare prototype) |
NfsShare.Builder |
newBuilderForType() |
protected NfsShare.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NfsShare |
parseDelimitedFrom(InputStream input) |
static NfsShare |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NfsShare |
parseFrom(byte[] data) |
static NfsShare |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NfsShare |
parseFrom(ByteBuffer data) |
static NfsShare |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NfsShare |
parseFrom(com.google.protobuf.ByteString data) |
static NfsShare |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NfsShare |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NfsShare |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NfsShare |
parseFrom(InputStream input) |
static NfsShare |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NfsShare> |
parser() |
NfsShare.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int NFS_SHARE_ID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int VOLUME_FIELD_NUMBER
public static final int ALLOWED_CLIENTS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface NfsShareOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface NfsShareOrBuilderpublic String getNfsShareId()
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getNfsShareId in interface NfsShareOrBuilderpublic com.google.protobuf.ByteString getNfsShareIdBytes()
Output only. An identifier for the NFS share, generated by the backend.
string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getNfsShareIdBytes in interface NfsShareOrBuilderpublic int getStateValue()
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;getStateValue in interface NfsShareOrBuilderpublic NfsShare.State getState()
The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3;getState in interface NfsShareOrBuilderpublic String getVolume()
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }getVolume in interface NfsShareOrBuilderpublic com.google.protobuf.ByteString getVolumeBytes()
The volume containing the share.
string volume = 4 [(.google.api.resource_reference) = { ... }getVolumeBytes in interface NfsShareOrBuilderpublic List<NfsShare.AllowedClient> getAllowedClientsList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
getAllowedClientsList in interface NfsShareOrBuilderpublic List<? extends NfsShare.AllowedClientOrBuilder> getAllowedClientsOrBuilderList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
getAllowedClientsOrBuilderList in interface NfsShareOrBuilderpublic int getAllowedClientsCount()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
getAllowedClientsCount in interface NfsShareOrBuilderpublic NfsShare.AllowedClient getAllowedClients(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
getAllowedClients in interface NfsShareOrBuilderpublic NfsShare.AllowedClientOrBuilder getAllowedClientsOrBuilder(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
getAllowedClientsOrBuilder in interface NfsShareOrBuilderpublic int getLabelsCount()
NfsShareOrBuilderLabels as key value pairs.
map<string, string> labels = 6;getLabelsCount in interface NfsShareOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 6;containsLabels in interface NfsShareOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface NfsShareOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 6;getLabelsMap in interface NfsShareOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 6;getLabelsOrDefault in interface NfsShareOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 6;getLabelsOrThrow in interface NfsShareOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NfsShare parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NfsShare parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NfsShare parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NfsShare parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NfsShare parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NfsShare parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NfsShare parseFrom(InputStream input) throws IOException
IOExceptionpublic static NfsShare parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NfsShare parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NfsShare parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NfsShare parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NfsShare parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NfsShare.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NfsShare.Builder newBuilder()
public static NfsShare.Builder newBuilder(NfsShare prototype)
public NfsShare.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NfsShare.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NfsShare getDefaultInstance()
public static com.google.protobuf.Parser<NfsShare> parser()
public com.google.protobuf.Parser<NfsShare> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NfsShare getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.