@java.lang.Override public io.grafeas.v1beta1.DeleteNoteRequest getDefaultInstanceForType() { return io.grafeas.v1beta1.DeleteNoteRequest.getDefaultInstance(); }
/** * * * <pre> * The name of the note in the form of * `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(io.grafeas.v1beta1.DeleteNoteRequest other) { if (other == io.grafeas.v1beta1.DeleteNoteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< io.grafeas.v1beta1.DeleteNoteRequest, com.google.protobuf.Empty> getDeleteNoteMethodHelper() { io.grpc.MethodDescriptor<io.grafeas.v1beta1.DeleteNoteRequest, com.google.protobuf.Empty> getDeleteNoteMethod; if ((getDeleteNoteMethod = GrafeasV1Beta1Grpc.getDeleteNoteMethod) == null) { synchronized (GrafeasV1Beta1Grpc.class) { if ((getDeleteNoteMethod = GrafeasV1Beta1Grpc.getDeleteNoteMethod) == null) { GrafeasV1Beta1Grpc.getDeleteNoteMethod = getDeleteNoteMethod = io.grpc.MethodDescriptor .<io.grafeas.v1beta1.DeleteNoteRequest, com.google.protobuf.Empty>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("grafeas.v1beta1.GrafeasV1Beta1", "DeleteNote")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.DeleteNoteRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor(new GrafeasV1Beta1MethodDescriptorSupplier("DeleteNote")) .build(); } } } return getDeleteNoteMethod; }
@java.lang.Override public io.grafeas.v1beta1.DeleteNoteRequest getDefaultInstanceForType() { return io.grafeas.v1beta1.DeleteNoteRequest.getDefaultInstance(); }
/** * * * <pre> * The name of the note in the form of * `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(io.grafeas.v1beta1.DeleteNoteRequest other) { if (other == io.grafeas.v1beta1.DeleteNoteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< io.grafeas.v1beta1.DeleteNoteRequest, com.google.protobuf.Empty> getDeleteNoteMethodHelper() { io.grpc.MethodDescriptor<io.grafeas.v1beta1.DeleteNoteRequest, com.google.protobuf.Empty> getDeleteNoteMethod; if ((getDeleteNoteMethod = GrafeasV1Beta1Grpc.getDeleteNoteMethod) == null) { synchronized (GrafeasV1Beta1Grpc.class) { if ((getDeleteNoteMethod = GrafeasV1Beta1Grpc.getDeleteNoteMethod) == null) { GrafeasV1Beta1Grpc.getDeleteNoteMethod = getDeleteNoteMethod = io.grpc.MethodDescriptor .<io.grafeas.v1beta1.DeleteNoteRequest, com.google.protobuf.Empty>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("grafeas.v1beta1.GrafeasV1Beta1", "DeleteNote")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.DeleteNoteRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor(new GrafeasV1Beta1MethodDescriptorSupplier("DeleteNote")) .build(); } } } return getDeleteNoteMethod; }