/** * <code>string farewell = 1;</code> */ public Builder clearFarewell() { farewell_ = getDefaultInstance().getFarewell(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FAREWELL_FIELD_NUMBER; hash = (53 * hash) + getFarewell().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getFarewellBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, farewell_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.example.grpc.GoodbyeResponse prototype) {
public com.example.grpc.GoodbyeResponse getDefaultInstanceForType() { return com.example.grpc.GoodbyeResponse.getDefaultInstance(); }
public com.example.grpc.GoodbyeResponse buildPartial() { com.example.grpc.GoodbyeResponse result = new com.example.grpc.GoodbyeResponse(this); result.farewell_ = farewell_; onBuilt(); return result; }
public com.example.grpc.GoodbyeResponse build() { com.example.grpc.GoodbyeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.example.grpc.GoodbyeResponse)) { return super.equals(obj); } com.example.grpc.GoodbyeResponse other = (com.example.grpc.GoodbyeResponse) obj; boolean result = true; result = result && getFarewell() .equals(other.getFarewell()); result = result && unknownFields.equals(other.unknownFields); return result; }
break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.example.grpc.GoodbyeResponse prototype) {
public com.example.grpc.GoodbyeResponse getDefaultInstanceForType() { return com.example.grpc.GoodbyeResponse.getDefaultInstance(); }
public com.example.grpc.GoodbyeResponse buildPartial() { com.example.grpc.GoodbyeResponse result = new com.example.grpc.GoodbyeResponse(this); result.farewell_ = farewell_; onBuilt(); return result; }
public com.example.grpc.GoodbyeResponse build() { com.example.grpc.GoodbyeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.example.grpc.GoodbyeResponse)) { return super.equals(obj); } com.example.grpc.GoodbyeResponse other = (com.example.grpc.GoodbyeResponse) obj; boolean result = true; result = result && getFarewell() .equals(other.getFarewell()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * <code>string farewell = 1;</code> */ public Builder clearFarewell() { farewell_ = getDefaultInstance().getFarewell(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FAREWELL_FIELD_NUMBER; hash = (53 * hash) + getFarewell().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getFarewellBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, farewell_); } unknownFields.writeTo(output); }