@java.lang.Override public io.grafeas.v1beta1.UpdateNoteRequest getDefaultInstanceForType() { return io.grafeas.v1beta1.UpdateNoteRequest.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.UpdateNoteRequest other) { if (other == io.grafeas.v1beta1.UpdateNoteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasNote()) { mergeNote(other.getNote()); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< io.grafeas.v1beta1.UpdateNoteRequest, io.grafeas.v1beta1.Note> getUpdateNoteMethodHelper() { io.grpc.MethodDescriptor<io.grafeas.v1beta1.UpdateNoteRequest, io.grafeas.v1beta1.Note> getUpdateNoteMethod; if ((getUpdateNoteMethod = GrafeasV1Beta1Grpc.getUpdateNoteMethod) == null) { synchronized (GrafeasV1Beta1Grpc.class) { if ((getUpdateNoteMethod = GrafeasV1Beta1Grpc.getUpdateNoteMethod) == null) { GrafeasV1Beta1Grpc.getUpdateNoteMethod = getUpdateNoteMethod = io.grpc.MethodDescriptor .<io.grafeas.v1beta1.UpdateNoteRequest, io.grafeas.v1beta1.Note>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("grafeas.v1beta1.GrafeasV1Beta1", "UpdateNote")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.UpdateNoteRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.Note.getDefaultInstance())) .setSchemaDescriptor(new GrafeasV1Beta1MethodDescriptorSupplier("UpdateNote")) .build(); } } } return getUpdateNoteMethod; }
@java.lang.Override public io.grafeas.v1beta1.UpdateNoteRequest getDefaultInstanceForType() { return io.grafeas.v1beta1.UpdateNoteRequest.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.UpdateNoteRequest other) { if (other == io.grafeas.v1beta1.UpdateNoteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasNote()) { mergeNote(other.getNote()); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< io.grafeas.v1beta1.UpdateNoteRequest, io.grafeas.v1beta1.Note> getUpdateNoteMethodHelper() { io.grpc.MethodDescriptor<io.grafeas.v1beta1.UpdateNoteRequest, io.grafeas.v1beta1.Note> getUpdateNoteMethod; if ((getUpdateNoteMethod = GrafeasV1Beta1Grpc.getUpdateNoteMethod) == null) { synchronized (GrafeasV1Beta1Grpc.class) { if ((getUpdateNoteMethod = GrafeasV1Beta1Grpc.getUpdateNoteMethod) == null) { GrafeasV1Beta1Grpc.getUpdateNoteMethod = getUpdateNoteMethod = io.grpc.MethodDescriptor .<io.grafeas.v1beta1.UpdateNoteRequest, io.grafeas.v1beta1.Note>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("grafeas.v1beta1.GrafeasV1Beta1", "UpdateNote")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.UpdateNoteRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.Note.getDefaultInstance())) .setSchemaDescriptor(new GrafeasV1Beta1MethodDescriptorSupplier("UpdateNote")) .build(); } } } return getUpdateNoteMethod; }