public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { Name = input.ReadString(); break; } case 18: { DisplayName = input.ReadString(); break; } case 24: { state_ = (global::Google.Cloud.Bigtable.Admin.V2.Instance.Types.State) input.ReadEnum(); break; } case 32: { type_ = (global::Google.Cloud.Bigtable.Admin.V2.Instance.Types.Type) input.ReadEnum(); break; } } } }
public void MergeFrom(Instance other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.State != 0) { State = other.State; } if (other.Type != 0) { Type = other.Type; } }