@java.lang.Override public com.google.cloud.vision.v1.CreateProductRequest getDefaultInstanceForType() { return com.google.cloud.vision.v1.CreateProductRequest.getDefaultInstance(); }
/** * * * <pre> * A user-supplied resource id for this Product. If set, the server will * attempt to use this value as the resource id. If it is already in use, an * error is returned with code ALREADY_EXISTS. Must be at most 128 characters * long. It cannot contain the character `/`. * </pre> * * <code>string product_id = 3;</code> */ public Builder clearProductId() { productId_ = getDefaultInstance().getProductId(); onChanged(); return this; } /**
/** * * * <pre> * The project in which the Product should be created. * Format is * `projects/PROJECT_ID/locations/LOC_ID`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.vision.v1.CreateProductRequest other) { if (other == com.google.cloud.vision.v1.CreateProductRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (other.hasProduct()) { mergeProduct(other.getProduct()); } if (!other.getProductId().isEmpty()) { productId_ = other.productId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.vision.v1.CreateProductRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
@java.lang.Override public com.google.cloud.vision.v1.CreateProductRequest getDefaultInstanceForType() { return com.google.cloud.vision.v1.CreateProductRequest.getDefaultInstance(); }
/** * * * <pre> * The project in which the Product should be created. * Format is * `projects/PROJECT_ID/locations/LOC_ID`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * A user-supplied resource id for this Product. If set, the server will * attempt to use this value as the resource id. If it is already in use, an * error is returned with code ALREADY_EXISTS. Must be at most 128 characters * long. It cannot contain the character `/`. * </pre> * * <code>string product_id = 3;</code> */ public Builder clearProductId() { productId_ = getDefaultInstance().getProductId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.vision.v1.CreateProductRequest other) { if (other == com.google.cloud.vision.v1.CreateProductRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (other.hasProduct()) { mergeProduct(other.getProduct()); } if (!other.getProductId().isEmpty()) { productId_ = other.productId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.vision.v1.CreateProductRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(