Class PersistentResource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1beta1.PersistentResource
-
- All Implemented Interfaces:
PersistentResourceOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class PersistentResource extends com.google.protobuf.GeneratedMessageV3 implements PersistentResourceOrBuilder
Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec.
Protobuf typegoogle.cloud.aiplatform.v1beta1.PersistentResource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PersistentResource.Builder
Represents long-lasting resources that are dedicated to users to runs custom workloads.static class
PersistentResource.State
Describes the PersistentResource state.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_TIME_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENCRYPTION_SPEC_FIELD_NUMBER
static int
ERROR_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NETWORK_FIELD_NUMBER
static int
RESERVED_IP_RANGES_FIELD_NUMBER
static int
RESOURCE_POOLS_FIELD_NUMBER
static int
RESOURCE_RUNTIME_FIELD_NUMBER
static int
RESOURCE_RUNTIME_SPEC_FIELD_NUMBER
static int
START_TIME_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static PersistentResource
getDefaultInstance()
PersistentResource
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.EncryptionSpec
getEncryptionSpec()
Optional.EncryptionSpecOrBuilder
getEncryptionSpecOrBuilder()
Optional.com.google.rpc.Status
getError()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.String
getNetwork()
Optional.com.google.protobuf.ByteString
getNetworkBytes()
Optional.com.google.protobuf.Parser<PersistentResource>
getParserForType()
String
getReservedIpRanges(int index)
Optional.com.google.protobuf.ByteString
getReservedIpRangesBytes(int index)
Optional.int
getReservedIpRangesCount()
Optional.com.google.protobuf.ProtocolStringList
getReservedIpRangesList()
Optional.ResourcePool
getResourcePools(int index)
Required.int
getResourcePoolsCount()
Required.List<ResourcePool>
getResourcePoolsList()
Required.ResourcePoolOrBuilder
getResourcePoolsOrBuilder(int index)
Required.List<? extends ResourcePoolOrBuilder>
getResourcePoolsOrBuilderList()
Required.ResourceRuntime
getResourceRuntime()
Output only.ResourceRuntimeOrBuilder
getResourceRuntimeOrBuilder()
Output only.ResourceRuntimeSpec
getResourceRuntimeSpec()
Optional.ResourceRuntimeSpecOrBuilder
getResourceRuntimeSpecOrBuilder()
Optional.int
getSerializedSize()
com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.PersistentResource.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEncryptionSpec()
Optional.boolean
hasError()
Output only.int
hashCode()
boolean
hasResourceRuntime()
Output only.boolean
hasResourceRuntimeSpec()
Optional.boolean
hasStartTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static PersistentResource.Builder
newBuilder()
static PersistentResource.Builder
newBuilder(PersistentResource prototype)
PersistentResource.Builder
newBuilderForType()
protected PersistentResource.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PersistentResource
parseDelimitedFrom(InputStream input)
static PersistentResource
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PersistentResource
parseFrom(byte[] data)
static PersistentResource
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PersistentResource
parseFrom(com.google.protobuf.ByteString data)
static PersistentResource
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PersistentResource
parseFrom(com.google.protobuf.CodedInputStream input)
static PersistentResource
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PersistentResource
parseFrom(InputStream input)
static PersistentResource
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PersistentResource
parseFrom(ByteBuffer data)
static PersistentResource
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PersistentResource>
parser()
PersistentResource.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_POOLS_FIELD_NUMBER
public static final int RESOURCE_POOLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_SPEC_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_RUNTIME_SPEC_FIELD_NUMBER
public static final int RESOURCE_RUNTIME_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_RUNTIME_FIELD_NUMBER
public static final int RESOURCE_RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVED_IP_RANGES_FIELD_NUMBER
public static final int RESERVED_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getName
in interfacePersistentResourceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. Resource name of a PersistentResource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getNameBytes
in interfacePersistentResourceOrBuilder
- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayName
in interfacePersistentResourceOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayNameBytes
in interfacePersistentResourceOrBuilder
- Returns:
- The bytes for displayName.
-
getResourcePoolsList
public List<ResourcePool> getResourcePoolsList()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcePoolsList
in interfacePersistentResourceOrBuilder
-
getResourcePoolsOrBuilderList
public List<? extends ResourcePoolOrBuilder> getResourcePoolsOrBuilderList()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcePoolsOrBuilderList
in interfacePersistentResourceOrBuilder
-
getResourcePoolsCount
public int getResourcePoolsCount()
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcePoolsCount
in interfacePersistentResourceOrBuilder
-
getResourcePools
public ResourcePool getResourcePools(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcePools
in interfacePersistentResourceOrBuilder
-
getResourcePoolsOrBuilder
public ResourcePoolOrBuilder getResourcePoolsOrBuilder(int index)
Required. The spec of the pools of different resources.
repeated .google.cloud.aiplatform.v1beta1.ResourcePool resource_pools = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getResourcePoolsOrBuilder
in interfacePersistentResourceOrBuilder
-
getStateValue
public int getStateValue()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfacePersistentResourceOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public PersistentResource.State getState()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1beta1.PersistentResource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfacePersistentResourceOrBuilder
- Returns:
- The state.
-
hasError
public boolean hasError()
Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasError
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getError
in interfacePersistentResourceOrBuilder
- Returns:
- The error.
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorOrBuilder
in interfacePersistentResourceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when the PersistentResource was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time when the PersistentResource was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfacePersistentResourceOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the PersistentResource was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfacePersistentResourceOrBuilder
-
hasStartTime
public boolean hasStartTime()
Output only. Time when the PersistentResource for the first time entered the `RUNNING` state.
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStartTime
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Output only. Time when the PersistentResource for the first time entered the `RUNNING` state.
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStartTime
in interfacePersistentResourceOrBuilder
- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time when the PersistentResource for the first time entered the `RUNNING` state.
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStartTimeOrBuilder
in interfacePersistentResourceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Time when the PersistentResource was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when the PersistentResource was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfacePersistentResourceOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the PersistentResource was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfacePersistentResourceOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:PersistentResourceOrBuilder
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfacePersistentResourceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfacePersistentResourceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfacePersistentResourceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfacePersistentResourceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfacePersistentResourceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfacePersistentResourceOrBuilder
-
getNetwork
public String getNetwork()
Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources is not peered with any network.
string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getNetwork
in interfacePersistentResourceOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources is not peered with any network.
string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getNetworkBytes
in interfacePersistentResourceOrBuilder
- Returns:
- The bytes for network.
-
hasEncryptionSpec
public boolean hasEncryptionSpec()
Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEncryptionSpec
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
public EncryptionSpec getEncryptionSpec()
Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionSpec
in interfacePersistentResourceOrBuilder
- Returns:
- The encryptionSpec.
-
getEncryptionSpecOrBuilder
public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionSpecOrBuilder
in interfacePersistentResourceOrBuilder
-
hasResourceRuntimeSpec
public boolean hasResourceRuntimeSpec()
Optional. Persistent Resource runtime spec. Used for e.g. Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasResourceRuntimeSpec
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the resourceRuntimeSpec field is set.
-
getResourceRuntimeSpec
public ResourceRuntimeSpec getResourceRuntimeSpec()
Optional. Persistent Resource runtime spec. Used for e.g. Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getResourceRuntimeSpec
in interfacePersistentResourceOrBuilder
- Returns:
- The resourceRuntimeSpec.
-
getResourceRuntimeSpecOrBuilder
public ResourceRuntimeSpecOrBuilder getResourceRuntimeSpecOrBuilder()
Optional. Persistent Resource runtime spec. Used for e.g. Ray cluster configuration.
.google.cloud.aiplatform.v1beta1.ResourceRuntimeSpec resource_runtime_spec = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getResourceRuntimeSpecOrBuilder
in interfacePersistentResourceOrBuilder
-
hasResourceRuntime
public boolean hasResourceRuntime()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasResourceRuntime
in interfacePersistentResourceOrBuilder
- Returns:
- Whether the resourceRuntime field is set.
-
getResourceRuntime
public ResourceRuntime getResourceRuntime()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceRuntime
in interfacePersistentResourceOrBuilder
- Returns:
- The resourceRuntime.
-
getResourceRuntimeOrBuilder
public ResourceRuntimeOrBuilder getResourceRuntimeOrBuilder()
Output only. Runtime information of the Persistent Resource.
.google.cloud.aiplatform.v1beta1.ResourceRuntime resource_runtime = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceRuntimeOrBuilder
in interfacePersistentResourceOrBuilder
-
getReservedIpRangesList
public com.google.protobuf.ProtocolStringList getReservedIpRangesList()
Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided ip ranges. Otherwise, the persistent resource will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].
repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservedIpRangesList
in interfacePersistentResourceOrBuilder
- Returns:
- A list containing the reservedIpRanges.
-
getReservedIpRangesCount
public int getReservedIpRangesCount()
Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided ip ranges. Otherwise, the persistent resource will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].
repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservedIpRangesCount
in interfacePersistentResourceOrBuilder
- Returns:
- The count of reservedIpRanges.
-
getReservedIpRanges
public String getReservedIpRanges(int index)
Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided ip ranges. Otherwise, the persistent resource will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].
repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservedIpRanges
in interfacePersistentResourceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The reservedIpRanges at the given index.
-
getReservedIpRangesBytes
public com.google.protobuf.ByteString getReservedIpRangesBytes(int index)
Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided ip ranges. Otherwise, the persistent resource will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].
repeated string reserved_ip_ranges = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservedIpRangesBytes
in interfacePersistentResourceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the reservedIpRanges at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PersistentResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersistentResource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersistentResource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersistentResource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersistentResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersistentResource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersistentResource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PersistentResource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PersistentResource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PersistentResource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PersistentResource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PersistentResource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PersistentResource.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PersistentResource.Builder newBuilder()
-
newBuilder
public static PersistentResource.Builder newBuilder(PersistentResource prototype)
-
toBuilder
public PersistentResource.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PersistentResource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PersistentResource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PersistentResource> parser()
-
getParserForType
public com.google.protobuf.Parser<PersistentResource> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PersistentResource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-