public static final class BatchDeleteAssetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder> implements BatchDeleteAssetsRequestOrBuilder
A request to delete a list of asset.Protobuf type
google.cloud.migrationcenter.v1.BatchDeleteAssetsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchDeleteAssetsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchDeleteAssetsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchDeleteAssetsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder mergeFrom(BatchDeleteAssetsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public BatchDeleteAssetsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchDeleteAssetsRequest.Builder>IOExceptionpublic String getParent()
Required. Parent value for batch asset delete.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface BatchDeleteAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Parent value for batch asset delete.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface BatchDeleteAssetsRequestOrBuilderpublic BatchDeleteAssetsRequest.Builder setParent(String value)
Required. Parent value for batch asset delete.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public BatchDeleteAssetsRequest.Builder clearParent()
Required. Parent value for batch asset delete.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BatchDeleteAssetsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. Parent value for batch asset delete.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public com.google.protobuf.ProtocolStringList getNamesList()
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNamesList in interface BatchDeleteAssetsRequestOrBuilderpublic int getNamesCount()
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNamesCount in interface BatchDeleteAssetsRequestOrBuilderpublic String getNames(int index)
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNames in interface BatchDeleteAssetsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNamesBytes(int index)
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNamesBytes in interface BatchDeleteAssetsRequestOrBuilderindex - The index of the value to return.public BatchDeleteAssetsRequest.Builder setNames(int index, String value)
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
index - The index to set the value at.value - The names to set.public BatchDeleteAssetsRequest.Builder addNames(String value)
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The names to add.public BatchDeleteAssetsRequest.Builder addAllNames(Iterable<String> values)
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
values - The names to add.public BatchDeleteAssetsRequest.Builder clearNames()
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BatchDeleteAssetsRequest.Builder addNamesBytes(com.google.protobuf.ByteString value)
Required. The IDs of the assets to delete.
A maximum of 1000 assets can be deleted in a batch.
Format: projects/{project}/locations/{location}/assets/{name}.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes of the names to add.public boolean getAllowMissing()
Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];getAllowMissing in interface BatchDeleteAssetsRequestOrBuilderpublic BatchDeleteAssetsRequest.Builder setAllowMissing(boolean value)
Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];value - The allowMissing to set.public BatchDeleteAssetsRequest.Builder clearAllowMissing()
Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];public final BatchDeleteAssetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>public final BatchDeleteAssetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteAssetsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.