public static final class BatchUpdateAssetsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateAssetsRequest.Builder> implements BatchUpdateAssetsRequestOrBuilder
A request to update a list of assets.
Protobuf type google.cloud.migrationcenter.v1.BatchUpdateAssetsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRequests(Iterable<? extends UpdateAssetRequest> values)
public BatchUpdateAssetsRequest.Builder addAllRequests(Iterable<? extends UpdateAssetRequest> values)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.migrationcenter.v1.UpdateAssetRequest>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateAssetsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRequests(UpdateAssetRequest value)
public BatchUpdateAssetsRequest.Builder addRequests(UpdateAssetRequest value)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(UpdateAssetRequest.Builder builderForValue)
public BatchUpdateAssetsRequest.Builder addRequests(UpdateAssetRequest.Builder builderForValue)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, UpdateAssetRequest value)
public BatchUpdateAssetsRequest.Builder addRequests(int index, UpdateAssetRequest value)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, UpdateAssetRequest.Builder builderForValue)
public BatchUpdateAssetsRequest.Builder addRequests(int index, UpdateAssetRequest.Builder builderForValue)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder()
public UpdateAssetRequest.Builder addRequestsBuilder()
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder(int index)
public UpdateAssetRequest.Builder addRequestsBuilder(int index)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public BatchUpdateAssetsRequest build()
buildPartial()
public BatchUpdateAssetsRequest buildPartial()
clear()
public BatchUpdateAssetsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateAssetsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateAssetsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchUpdateAssetsRequest.Builder clearParent()
Required. Parent value for batch asset update.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearRequests()
public BatchUpdateAssetsRequest.Builder clearRequests()
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public BatchUpdateAssetsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchUpdateAssetsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Parent value for batch asset update.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Parent value for batch asset update.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getRequests(int index)
public UpdateAssetRequest getRequests(int index)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsBuilder(int index)
public UpdateAssetRequest.Builder getRequestsBuilder(int index)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsBuilderList()
public List<UpdateAssetRequest.Builder> getRequestsBuilderList()
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsCount()
public int getRequestsCount()
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getRequestsList()
public List<UpdateAssetRequest> getRequestsList()
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder(int index)
public UpdateAssetRequestOrBuilder getRequestsOrBuilder(int index)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsOrBuilderList()
public List<? extends UpdateAssetRequestOrBuilder> getRequestsOrBuilderList()
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.UpdateAssetRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchUpdateAssetsRequest other)
public BatchUpdateAssetsRequest.Builder mergeFrom(BatchUpdateAssetsRequest other)
public BatchUpdateAssetsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchUpdateAssetsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateAssetsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRequests(int index)
public BatchUpdateAssetsRequest.Builder removeRequests(int index)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateAssetsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public BatchUpdateAssetsRequest.Builder setParent(String value)
Required. Parent value for batch asset update.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public BatchUpdateAssetsRequest.Builder setParentBytes(ByteString value)
Required. Parent value for batch asset update.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateAssetsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequests(int index, UpdateAssetRequest value)
public BatchUpdateAssetsRequest.Builder setRequests(int index, UpdateAssetRequest value)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setRequests(int index, UpdateAssetRequest.Builder builderForValue)
public BatchUpdateAssetsRequest.Builder setRequests(int index, UpdateAssetRequest.Builder builderForValue)
Required. The request message specifying the resources to update.
A maximum of 1000 assets can be modified in a batch.
repeated .google.cloud.migrationcenter.v1.UpdateAssetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateAssetsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides