Class CachePrePopulate (0.61.0)

public final class CachePrePopulate extends GeneratedMessageV3 implements CachePrePopulateOrBuilder

Pre-populate cache volume with data from the origin volume.

Protobuf type google.cloud.netapp.v1.CachePrePopulate

Static Fields

EXCLUDE_PATH_LIST_FIELD_NUMBER

public static final int EXCLUDE_PATH_LIST_FIELD_NUMBER
Field Value
Type Description
int

PATH_LIST_FIELD_NUMBER

public static final int PATH_LIST_FIELD_NUMBER
Field Value
Type Description
int

RECURSION_FIELD_NUMBER

public static final int RECURSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CachePrePopulate getDefaultInstance()
Returns
Type Description
CachePrePopulate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CachePrePopulate.Builder newBuilder()
Returns
Type Description
CachePrePopulate.Builder

newBuilder(CachePrePopulate prototype)

public static CachePrePopulate.Builder newBuilder(CachePrePopulate prototype)
Parameter
Name Description
prototype CachePrePopulate
Returns
Type Description
CachePrePopulate.Builder

parseDelimitedFrom(InputStream input)

public static CachePrePopulate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CachePrePopulate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CachePrePopulate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CachePrePopulate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CachePrePopulate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CachePrePopulate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CachePrePopulate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CachePrePopulate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CachePrePopulate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CachePrePopulate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CachePrePopulate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CachePrePopulate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CachePrePopulate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CachePrePopulate> parser()
Returns
Type Description
Parser<CachePrePopulate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CachePrePopulate getDefaultInstanceForType()
Returns
Type Description
CachePrePopulate

getExcludePathList(int index)

public String getExcludePathList(int index)

Optional. List of directory-paths to be excluded for pre-population for the FlexCache volume.

repeated string exclude_path_list = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludePathList at the given index.

getExcludePathListBytes(int index)

public ByteString getExcludePathListBytes(int index)

Optional. List of directory-paths to be excluded for pre-population for the FlexCache volume.

repeated string exclude_path_list = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludePathList at the given index.

getExcludePathListCount()

public int getExcludePathListCount()

Optional. List of directory-paths to be excluded for pre-population for the FlexCache volume.

repeated string exclude_path_list = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of excludePathList.

getExcludePathListList()

public ProtocolStringList getExcludePathListList()

Optional. List of directory-paths to be excluded for pre-population for the FlexCache volume.

repeated string exclude_path_list = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludePathList.

getParserForType()

public Parser<CachePrePopulate> getParserForType()
Returns
Type Description
Parser<CachePrePopulate>
Overrides

getPathList(int index)

public String getPathList(int index)

Optional. List of directory-paths to be pre-populated for the FlexCache volume.

repeated string path_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pathList at the given index.

getPathListBytes(int index)

public ByteString getPathListBytes(int index)

Optional. List of directory-paths to be pre-populated for the FlexCache volume.

repeated string path_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pathList at the given index.

getPathListCount()

public int getPathListCount()

Optional. List of directory-paths to be pre-populated for the FlexCache volume.

repeated string path_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of pathList.

getPathListList()

public ProtocolStringList getPathListList()

Optional. List of directory-paths to be pre-populated for the FlexCache volume.

repeated string path_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the pathList.

getRecursion()

public boolean getRecursion()

Optional. Flag indicating whether the directories listed with the path_list need to be recursively pre-populated.

optional bool recursion = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The recursion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasRecursion()

public boolean hasRecursion()

Optional. Flag indicating whether the directories listed with the path_list need to be recursively pre-populated.

optional bool recursion = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the recursion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CachePrePopulate.Builder newBuilderForType()
Returns
Type Description
CachePrePopulate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CachePrePopulate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CachePrePopulate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CachePrePopulate.Builder toBuilder()
Returns
Type Description
CachePrePopulate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException