@java.lang.Override public com.google.cloud.vision.v1.AddProductToProductSetRequest getDefaultInstanceForType() { return com.google.cloud.vision.v1.AddProductToProductSetRequest.getDefaultInstance(); }
/** * * * <pre> * The resource name for the Product to be added to this ProductSet. * Format is: * `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` * </pre> * * <code>string product = 2;</code> */ public Builder clearProduct() { product_ = getDefaultInstance().getProduct(); onChanged(); return this; } /**
/** * * * <pre> * The resource name for the ProductSet to modify. * Format is: * `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID` * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.vision.v1.AddProductToProductSetRequest other) { if (other == com.google.cloud.vision.v1.AddProductToProductSetRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getProduct().isEmpty()) { product_ = other.product_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.vision.v1.AddProductToProductSetRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
@java.lang.Override public com.google.cloud.vision.v1.AddProductToProductSetRequest getDefaultInstanceForType() { return com.google.cloud.vision.v1.AddProductToProductSetRequest.getDefaultInstance(); }
/** * * * <pre> * The resource name for the Product to be added to this ProductSet. * Format is: * `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` * </pre> * * <code>string product = 2;</code> */ public Builder clearProduct() { product_ = getDefaultInstance().getProduct(); onChanged(); return this; } /**
/** * * * <pre> * The resource name for the ProductSet to modify. * Format is: * `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID` * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.vision.v1.AddProductToProductSetRequest other) { if (other == com.google.cloud.vision.v1.AddProductToProductSetRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getProduct().isEmpty()) { product_ = other.product_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.vision.v1.AddProductToProductSetRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(