/** * * * <pre> * The updated note. * </pre> * * <code>.grafeas.v1beta1.Note note = 2;</code> */ public io.grafeas.v1beta1.Note getNote() { return note_ == null ? io.grafeas.v1beta1.Note.getDefaultInstance() : note_; } /**
/** * * * <pre> * The note to create. * </pre> * * <code>.grafeas.v1beta1.Note note = 3;</code> */ public io.grafeas.v1beta1.Note getNote() { return note_ == null ? io.grafeas.v1beta1.Note.getDefaultInstance() : note_; } /**
@java.lang.Override public io.grafeas.v1beta1.Note getDefaultInstanceForType() { return io.grafeas.v1beta1.Note.getDefaultInstance(); }
/** * * * <pre> * The updated note. * </pre> * * <code>.grafeas.v1beta1.Note note = 2;</code> */ public io.grafeas.v1beta1.Note getNote() { if (noteBuilder_ == null) { return note_ == null ? io.grafeas.v1beta1.Note.getDefaultInstance() : note_; } else { return noteBuilder_.getMessage(); } } /**
/** * * * <pre> * The updated note. * </pre> * * <code>.grafeas.v1beta1.Note note = 2;</code> */ public io.grafeas.v1beta1.NoteOrBuilder getNoteOrBuilder() { if (noteBuilder_ != null) { return noteBuilder_.getMessageOrBuilder(); } else { return note_ == null ? io.grafeas.v1beta1.Note.getDefaultInstance() : note_; } } /**
/** * * * <pre> * The note to create. * </pre> * * <code>.grafeas.v1beta1.Note note = 3;</code> */ public io.grafeas.v1beta1.Note getNote() { if (noteBuilder_ == null) { return note_ == null ? io.grafeas.v1beta1.Note.getDefaultInstance() : note_; } else { return noteBuilder_.getMessage(); } } /**
/** * * * <pre> * The note to create. * </pre> * * <code>.grafeas.v1beta1.Note note = 3;</code> */ public io.grafeas.v1beta1.NoteOrBuilder getNoteOrBuilder() { if (noteBuilder_ != null) { return noteBuilder_.getMessageOrBuilder(); } else { return note_ == null ? io.grafeas.v1beta1.Note.getDefaultInstance() : note_; } } /**
/** * * * <pre> * The notes that were created. * </pre> * * <code>repeated .grafeas.v1beta1.Note notes = 1;</code> */ public io.grafeas.v1beta1.Note.Builder addNotesBuilder(int index) { return getNotesFieldBuilder().addBuilder(index, io.grafeas.v1beta1.Note.getDefaultInstance()); } /**
/** * * * <pre> * The notes that were created. * </pre> * * <code>repeated .grafeas.v1beta1.Note notes = 1;</code> */ public io.grafeas.v1beta1.Note.Builder addNotesBuilder() { return getNotesFieldBuilder().addBuilder(io.grafeas.v1beta1.Note.getDefaultInstance()); } /**
/** * * * <pre> * The notes requested. * </pre> * * <code>repeated .grafeas.v1beta1.Note notes = 1;</code> */ public io.grafeas.v1beta1.Note.Builder addNotesBuilder() { return getNotesFieldBuilder().addBuilder(io.grafeas.v1beta1.Note.getDefaultInstance()); } /**
/** * * * <pre> * The notes requested. * </pre> * * <code>repeated .grafeas.v1beta1.Note notes = 1;</code> */ public io.grafeas.v1beta1.Note.Builder addNotesBuilder(int index) { return getNotesFieldBuilder().addBuilder(index, io.grafeas.v1beta1.Note.getDefaultInstance()); } /**
/** * * * <pre> * A detailed description of this note. * </pre> * * <code>string long_description = 3;</code> */ public Builder clearLongDescription() { longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /**
/** * * * <pre> * A one sentence description of this note. * </pre> * * <code>string short_description = 2;</code> */ public Builder clearShortDescription() { shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /**
/** * * * <pre> * Output only. 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.Note other) { if (other == io.grafeas.v1beta1.Note.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_;
private static io.grpc.MethodDescriptor< io.grafeas.v1beta1.GetNoteRequest, io.grafeas.v1beta1.Note> getGetNoteMethodHelper() { io.grpc.MethodDescriptor<io.grafeas.v1beta1.GetNoteRequest, io.grafeas.v1beta1.Note> getGetNoteMethod; if ((getGetNoteMethod = GrafeasV1Beta1Grpc.getGetNoteMethod) == null) { synchronized (GrafeasV1Beta1Grpc.class) { if ((getGetNoteMethod = GrafeasV1Beta1Grpc.getGetNoteMethod) == null) { GrafeasV1Beta1Grpc.getGetNoteMethod = getGetNoteMethod = io.grpc.MethodDescriptor .<io.grafeas.v1beta1.GetNoteRequest, io.grafeas.v1beta1.Note>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("grafeas.v1beta1.GrafeasV1Beta1", "GetNote")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.GetNoteRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.Note.getDefaultInstance())) .setSchemaDescriptor(new GrafeasV1Beta1MethodDescriptorSupplier("GetNote")) .build(); } } } return getGetNoteMethod; }
private static io.grpc.MethodDescriptor< io.grafeas.v1beta1.CreateNoteRequest, io.grafeas.v1beta1.Note> getCreateNoteMethodHelper() { io.grpc.MethodDescriptor<io.grafeas.v1beta1.CreateNoteRequest, io.grafeas.v1beta1.Note> getCreateNoteMethod; if ((getCreateNoteMethod = GrafeasV1Beta1Grpc.getCreateNoteMethod) == null) { synchronized (GrafeasV1Beta1Grpc.class) { if ((getCreateNoteMethod = GrafeasV1Beta1Grpc.getCreateNoteMethod) == null) { GrafeasV1Beta1Grpc.getCreateNoteMethod = getCreateNoteMethod = io.grpc.MethodDescriptor .<io.grafeas.v1beta1.CreateNoteRequest, io.grafeas.v1beta1.Note>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("grafeas.v1beta1.GrafeasV1Beta1", "CreateNote")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.CreateNoteRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.Note.getDefaultInstance())) .setSchemaDescriptor(new GrafeasV1Beta1MethodDescriptorSupplier("CreateNote")) .build(); } } } return getCreateNoteMethod; }
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( io.grafeas.v1beta1.Note.getDefaultInstance())) .setSchemaDescriptor( new GrafeasV1Beta1MethodDescriptorSupplier("GetOccurrenceNote"))
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; }
/** * * * <pre> * The notes that were created. * </pre> * * <code>repeated .grafeas.v1beta1.Note notes = 1;</code> */ public io.grafeas.v1beta1.Note.Builder addNotesBuilder() { return getNotesFieldBuilder().addBuilder(io.grafeas.v1beta1.Note.getDefaultInstance()); } /**