Package com.google.cloud.aiplatform.v1
Class PurgeExecutionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsResponse.Builder>
com.google.cloud.aiplatform.v1.PurgeExecutionsResponse.Builder
- All Implemented Interfaces:
PurgeExecutionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PurgeExecutionsResponse
public static final class PurgeExecutionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsResponse.Builder>
implements PurgeExecutionsResponseOrBuilder
Response message for [MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions].Protobuf type
google.cloud.aiplatform.v1.PurgeExecutionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPurgeSample(Iterable<String> values) A sample of the Execution names that will be deleted.addPurgeSample(String value) A sample of the Execution names that will be deleted.addPurgeSampleBytes(com.google.protobuf.ByteString value) A sample of the Execution names that will be deleted.build()clear()The number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted).A sample of the Execution names that will be deleted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted).getPurgeSample(int index) A sample of the Execution names that will be deleted.com.google.protobuf.ByteStringgetPurgeSampleBytes(int index) A sample of the Execution names that will be deleted.intA sample of the Execution names that will be deleted.com.google.protobuf.ProtocolStringListA sample of the Execution names that will be deleted.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PurgeExecutionsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setPurgeCount(long value) The number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted).setPurgeSample(int index, String value) A sample of the Execution names that will be deleted.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PurgeExecutionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PurgeExecutionsResponse.Builder>
-
mergeFrom
public PurgeExecutionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PurgeExecutionsResponse.Builder>- Throws:
IOException
-
getPurgeCount
public long getPurgeCount()The number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted). This can be an estimate.
int64 purge_count = 1;- Specified by:
getPurgeCountin interfacePurgeExecutionsResponseOrBuilder- Returns:
- The purgeCount.
-
setPurgeCount
The number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted). This can be an estimate.
int64 purge_count = 1;- Parameters:
value- The purgeCount to set.- Returns:
- This builder for chaining.
-
clearPurgeCount
The number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted). This can be an estimate.
int64 purge_count = 1;- Returns:
- This builder for chaining.
-
getPurgeSampleList
public com.google.protobuf.ProtocolStringList getPurgeSampleList()A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getPurgeSampleListin interfacePurgeExecutionsResponseOrBuilder- Returns:
- A list containing the purgeSample.
-
getPurgeSampleCount
public int getPurgeSampleCount()A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getPurgeSampleCountin interfacePurgeExecutionsResponseOrBuilder- Returns:
- The count of purgeSample.
-
getPurgeSample
A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getPurgeSamplein interfacePurgeExecutionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The purgeSample at the given index.
-
getPurgeSampleBytes
public com.google.protobuf.ByteString getPurgeSampleBytes(int index) A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getPurgeSampleBytesin interfacePurgeExecutionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the purgeSample at the given index.
-
setPurgeSample
A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The purgeSample to set.- Returns:
- This builder for chaining.
-
addPurgeSample
A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The purgeSample to add.- Returns:
- This builder for chaining.
-
addAllPurgeSample
A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Parameters:
values- The purgeSample to add.- Returns:
- This builder for chaining.
-
clearPurgeSample
A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addPurgeSampleBytes
A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).
repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the purgeSample to add.- Returns:
- This builder for chaining.
-